This commit is contained in:
邹宗楠
2022-12-20 14:23:27 +08:00
parent fe5eda2c1c
commit af6d2f8834

View File

@@ -677,11 +677,14 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
// }
}
//globals.SugarLogger.Debugf("== createList %s", utils.Format4Output(createList, false))
//globals.SugarLogger.Debugf("== updateList %s", utils.Format4Output(updateList, false))
//globals.SugarLogger.Debugf("== deleteList %s", utils.Format4Output(deleteList, false))
//globals.SugarLogger.Debugf("== stockList %s", utils.Format4Output(stockList, false))
//globals.SugarLogger.Debugf("== priceList %s", utils.Format4Output(priceList, false))
if vendorID == model.VendorIDDD {
globals.SugarLogger.Debugf("== createList %s", utils.Format4Output(createList, false))
globals.SugarLogger.Debugf("== updateList %s", utils.Format4Output(updateList, false))
globals.SugarLogger.Debugf("== deleteList %s", utils.Format4Output(deleteList, false))
globals.SugarLogger.Debugf("== stockList %s", utils.Format4Output(stockList, false))
globals.SugarLogger.Debugf("== priceList %s", utils.Format4Output(priceList, 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)