From 10b7a6a2a78a5f8ff983c2439d6e568f2b2f1e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 12 Jan 2023 14:30:44 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store_sku.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 43b26257f..48fbaa035 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -1974,7 +1974,10 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs FOR UPDATE` sqlParams = append(sqlParams, utils.DefaultTimeValue) // 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 { + globals.SugarLogger.Debug("==========allBinds %s", utils.Format4Output(allBinds, false)) if len(allBinds) > 0 { inSkuBinsMap := make(map[int]*StoreSkuBindSkuInfo, len(inSkuBinds)) for _, v := range inSkuBinds {