This commit is contained in:
邹宗楠
2023-03-09 09:38:28 +08:00
parent b436579e8e
commit 33590e2892
2 changed files with 3 additions and 1 deletions

View File

@@ -689,6 +689,8 @@ func GetStoreSkus2(db *DaoDB, vendorID, storeID int, skuIDs []int, mustDirty boo
// }
sql = fmt.Sprintf(sql, fmtParams...)
sql += " ORDER BY t1.price"
globals.SugarLogger.Debugf("=====parma := %s", sql)
globals.SugarLogger.Debugf("=====parma := %s", utils.Format4Output(sqlParams, false))
if err = GetRows(db, &skus, sql, sqlParams...); err != nil {
return nil, err
}