This commit is contained in:
邹宗楠
2022-06-04 14:16:54 +08:00
parent f8884ca237
commit 91c3c1cd15

View File

@@ -78,8 +78,8 @@ func SyncStoreCategories(ctx *jxcontext.Context, parentTask tasksch.ITask, vendo
func(rootTask *tasksch.SeqTask, step int, params ...interface{}) (result interface{}, err error) {
level := step + 1
catList, err := dao.GetDirtyStoreCategories(db, vendorID, storeID, level, skuIDs)
globals.SugarLogger.Debug("====================xinzheng22222",len(catList))
globals.SugarLogger.Debug("====================xinzheng22222",catList)
globals.SugarLogger.Debug("====================xinzheng22222",len(catList),storeID)
globals.SugarLogger.Debug("====================xinzheng22222",catList,storeID)
if len(catList) > 0 {
num += len(catList)
task := tasksch.NewParallelTask(fmt.Sprintf("%s SyncStoreCategory step2, level=%d", model.VendorChineseNames[vendorID], level),