From c2411490927455e099fda7d0b423afca70cfdc1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 19 Nov 2020 17:09:44 +0800 Subject: [PATCH] test --- business/jxstore/cms/sync_store_sku.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 91fddccaf..e7eb4f8fb 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -432,9 +432,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag if err != nil || len(skus) == 0 { return err } - if vendorID == model.VendorIDJDShop && storeID == model.JdShopMainStoreID2 { - globals.SugarLogger.Debugf("syncStoreSkuNew", utils.Format4Output(skus, false)) - } if len(excludeSkuIDs) > 0 { excludeSkuMap := jxutils.IntList2Map(excludeSkuIDs) var skus2 []*dao.StoreSkuSyncInfo @@ -468,7 +465,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag now := jxutils.OperationTime2HourMinuteFormat(time.Now()) var failedList []*partner.StoreSkuInfoWithErr for _, sku := range skus { - if vendorID == model.VendorIDJDShop && storeID != model.JdShopMainStoreID { + if vendorID == model.VendorIDJDShop && storeID != model.JdShopMainStoreID && storeID != model.JdShopMainStoreID2 { return } if !useVendorPriceDirectly &&