This commit is contained in:
邹宗楠
2023-08-08 10:37:18 +08:00
parent deab92be8d
commit f1cfe3dcd7

View File

@@ -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)