gy灵异
This commit is contained in:
@@ -138,12 +138,14 @@ func SyncStoreCategories(ctx *jxcontext.Context, parentTask tasksch.ITask, vendo
|
||||
}
|
||||
task.AddFailedList(failedList)
|
||||
}
|
||||
fmt.Println("2222222222222222222222222222222222222222222222")
|
||||
if err == nil {
|
||||
if vendorID == model.VendorIDMTWM {
|
||||
refutil.SetObjFieldByName(storeCatMap, idFieldName, catInfo.VendorCatID)
|
||||
} else {
|
||||
refutil.SetObjFieldByName(storeCatMap, idFieldName, utils.Str2Int64WithDefault(catInfo.VendorCatID, 0))
|
||||
}
|
||||
fmt.Println("11111111111111111111111111111111111111111111111111111111111")
|
||||
_, err = dao.UpdateEntity(db, storeCatMap, updateFields...)
|
||||
}
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user