From c552483356ce7dc97a608bae28cbcf0517b28499 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Wed, 11 Jan 2023 10:13:42 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/sync_store_sku.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 6116dbae4..bc445f14f 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -433,10 +433,10 @@ func updateStoreSku(db *dao.DaoDB, vendorID int, storeSkuList []*dao.StoreSkuSyn } else { updateItemList := make([]*dao.KVUpdateItem, len(storeSkuList)) for k, v := range storeSkuList { - globals.SugarLogger.Debugf("======skusyncStatus %s", utils.Format4Output(v, false)) + //globals.SugarLogger.Debugf("======skusyncStatus %s", utils.Format4Output(v, false)) updateItemList[k] = sku2Update(vendorID, v, syncStatus) } - globals.SugarLogger.Debugf("========updateItemList=== %s", utils.Format4Output(updateItemList, false)) + //globals.SugarLogger.Debugf("========updateItemList=== %s", utils.Format4Output(updateItemList, false)) num, err = dao.BatchUpdateEntityByKV(db, updateItemList) if vendorID == model.VendorIDYB { err = updateYbOhterSku(db, storeSkuList)