1
This commit is contained in:
@@ -1974,7 +1974,10 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
|
|||||||
FOR UPDATE`
|
FOR UPDATE`
|
||||||
sqlParams = append(sqlParams, utils.DefaultTimeValue)
|
sqlParams = append(sqlParams, utils.DefaultTimeValue)
|
||||||
// globals.SugarLogger.Debug(sql)
|
// globals.SugarLogger.Debug(sql)
|
||||||
|
globals.SugarLogger.Debug("==========sql %s", sql)
|
||||||
|
globals.SugarLogger.Debug("==========sqlParams %s", utils.Format4Output(sqlParams, false))
|
||||||
if err = dao.GetRows(db, &allBinds, sql, sqlParams...); err == nil {
|
if err = dao.GetRows(db, &allBinds, sql, sqlParams...); err == nil {
|
||||||
|
globals.SugarLogger.Debug("==========allBinds %s", utils.Format4Output(allBinds, false))
|
||||||
if len(allBinds) > 0 {
|
if len(allBinds) > 0 {
|
||||||
inSkuBinsMap := make(map[int]*StoreSkuBindSkuInfo, len(inSkuBinds))
|
inSkuBinsMap := make(map[int]*StoreSkuBindSkuInfo, len(inSkuBinds))
|
||||||
for _, v := range inSkuBinds {
|
for _, v := range inSkuBinds {
|
||||||
|
|||||||
Reference in New Issue
Block a user