This commit is contained in:
邹宗楠
2023-01-16 14:13:19 +08:00
parent 598a957113
commit b38c0b34c4
3 changed files with 11 additions and 16 deletions

View File

@@ -701,17 +701,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
// api.JdShop2API.SetCookieWithStr(configs[0].Value)
// }
}
if storeID == 668767 {
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("onlineList=== %s", utils.Format4Output(onlineList, false))
globals.SugarLogger.Debugf("offlineList=== %s", utils.Format4Output(offlineList, false))
globals.SugarLogger.Debugf("priceList=== %s", utils.Format4Output(priceList, false))
globals.SugarLogger.Debugf("updateItems=== %s", utils.Format4Output(updateItems, false))
globals.SugarLogger.Debugf("reorderSkuMap=== %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) {