This commit is contained in:
邹宗楠
2025-02-11 14:53:43 +08:00
parent 8a1898cfae
commit eba7781caa
3 changed files with 1 additions and 13 deletions

View File

@@ -536,7 +536,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
skus, err = dao.GetStoreSkus(db, vendorID, storeID, skuIDs)
}
globals.SugarLogger.Debugf("----------skus :=%v, %s", isFull, utils.Format4Output(skus, false))
if err != nil || len(skus) == 0 {
return err
}
@@ -755,15 +754,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
}
}
if storeID == 20002 {
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("---------priceList := %s", utils.Format4Output(priceList, false))
globals.SugarLogger.Debugf("---------offlineList := %s", 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) {