From f1cfe3dcd723cdbcce26c5d3ec546cd556f9b48d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 8 Aug 2023 10:37:18 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/sync_store_sku.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 7e3f38376..ed824e347 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -711,6 +711,15 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag } } + globals.SugarLogger.Debugf("====================%s", utils.Format4Output(deleteList, false)) + globals.SugarLogger.Debugf("====================%s", utils.Format4Output(updateList, false)) + globals.SugarLogger.Debugf("====================%s", utils.Format4Output(stockList, false)) + globals.SugarLogger.Debugf("====================%s", utils.Format4Output(createList, false)) + globals.SugarLogger.Debugf("====================%s", utils.Format4Output(onlineList, false)) + globals.SugarLogger.Debugf("====================%s", utils.Format4Output(offlineList, false)) + globals.SugarLogger.Debugf("====================%s", utils.Format4Output(priceList, false)) + globals.SugarLogger.Debugf("====================%s", utils.Format4Output(updateItems, false)) + globals.SugarLogger.Debugf("====================%s", utils.Format4Output(reorderSkuMap, false)) task := tasksch.NewParallelTask("syncStoreSkuNew", tasksch.NewParallelConfig().SetParallelCount(1).SetIsContinueWhenError(isContinueWhenError2), ctx, func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) { step := batchItemList[0].(int)