This commit is contained in:
邹宗楠
2026-03-18 17:11:22 +08:00
parent 92c4c01651
commit 5a7bb80fcf

View File

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