diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index c25fec24f..69e34be88 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -393,7 +393,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag skus, err = dao.GetFullStoreSkus(db, vendorID, storeID) } else { skus, err = dao.GetStoreSkus(db, vendorID, storeID, skuIDs) - fmt.Println("testGetStoreSkus", utils.Format4Output(skus, false)) } if err != nil || len(skus) == 0 { return err @@ -522,6 +521,9 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag if bareSku == nil { bareSku = storeSkuSyncInfo2Bare(sku) } + if vendorID == model.VendorIDJDShop && storeID == 102023 { + fmt.Println("test102023", utils.Format4Output(sku, false)) + } if sku.MergedStatus == model.SkuStatusNormal { onlineList = append(onlineList, bareSku) stockList = append(stockList, bareSku) @@ -606,8 +608,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag updateList = updateList[:] updateList = rList2 } - fmt.Println("testonlineList", utils.Format4Output(onlineList, false)) - fmt.Println("testofflineList", utils.Format4Output(offlineList, false)) } task := tasksch.NewParallelTask("syncStoreSkuNew", tasksch.NewParallelConfig().SetParallelCount(1).SetIsContinueWhenError(isContinueWhenError2), ctx, func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {