From b7947a1869d0e746e3b82778c20ab87211bea13f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 2 Jan 2025 09:13:04 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/sync_store_sku.go | 4 ---- business/partner/purchase/mtwm/store_sku2.go | 4 ---- 2 files changed, 8 deletions(-) diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index faaab14a9..9c150db12 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -534,10 +534,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag skus, err = dao.GetStoreSkus(db, vendorID, storeID, skuIDs) } - if storeID == 20002 { - globals.SugarLogger.Debugf("-----sku := %s", utils.Format4Output(skus, false)) - } - if err != nil || len(skus) == 0 { return err } diff --git a/business/partner/purchase/mtwm/store_sku2.go b/business/partner/purchase/mtwm/store_sku2.go index 4a1c1c8cf..331152401 100644 --- a/business/partner/purchase/mtwm/store_sku2.go +++ b/business/partner/purchase/mtwm/store_sku2.go @@ -454,10 +454,6 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI } } - if storeID == 20002 { - globals.SugarLogger.Debugf("-----foodDataList := %s", utils.Format4Output(foodDataList, false)) - globals.SugarLogger.Debugf("-----storeSku := %s", utils.Format4Output(storeSkuList, false)) - } if globals.EnableMtwmStoreWrite { if len(foodDataList) == 1 { foodDataList[0]["skus"] = string(utils.MustMarshal(foodDataList[0]["skus"]))