From e7e0b8c37a180c207c16fa0627fffc50b844f80c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 26 May 2020 15:36:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=97=A8=E5=BA=97=E5=BA=93?= =?UTF-8?q?=E5=AD=98=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/sync_store_sku.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 665b150b1..c25fec24f 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -393,6 +393,7 @@ 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 @@ -605,6 +606,8 @@ 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) {