This commit is contained in:
邹宗楠
2022-10-31 17:55:44 +08:00
parent cd51c18c15
commit 059d83f41e

View File

@@ -1152,6 +1152,8 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []str
if isHighPrice || priceType != 0 {
sql += " , t4.unit_price DESC LIMIT 99"
}
globals.SugarLogger.Debugf("==========slq := %s", sql)
globals.SugarLogger.Debugf("==========param := %s", utils.Format4Output(params, false))
var tmpList []*tGetStoresSkusInfo
if err = dao.GetRowsTx(txDB, &tmpList, sql, sqlParams...); err != nil {
dao.Rollback(db, txDB)