价格审核查询按updatedat倒叙

This commit is contained in:
苏尹岚
2020-06-02 09:18:14 +08:00
parent 8b74d2b1c7
commit 2b77ab109d

View File

@@ -1598,7 +1598,7 @@ func GetStoreSkuAudit(db *DaoDB, storeIDs, nameIDs, skuIDs, statuss, types []int
sql += " AND d.market_man_phone LIKE ? "
sqlParams = append(sqlParams, "%"+marketManPhone+"%")
}
sql += " LIMIT ? OFFSET ?"
sql += " LIMIT ? OFFSET ? ORDER BY a.updated_at DESC"
pageSize = jxutils.FormalizePageSize(pageSize)
sqlParams = append(sqlParams, pageSize, offset)
Begin(db)