This commit is contained in:
邹宗楠
2023-01-31 16:26:18 +08:00
parent feb739bcf6
commit d9e5b707cf
2 changed files with 4 additions and 0 deletions

View File

@@ -261,6 +261,9 @@ func SyncReorderCategories(ctx *jxcontext.Context, parentCatID int, isAsync bool
parentVendorCatID = thingMaps[0].VendorThingID
}
if len(vendorCatIDList) > 0 {
globals.SugarLogger.Debugf("vendorInfo.OrgCode=== %s", vendorInfo.OrgCode)
globals.SugarLogger.Debugf("vendorInfo.parentVendorCatID=== %s", parentVendorCatID)
globals.SugarLogger.Debugf("vendorInfo.vendorCatIDList=== %s", vendorCatIDList)
if err = multiStoresHandler.ReorderCategories2(ctx, vendorInfo.OrgCode, parentVendorCatID, vendorCatIDList); err == nil {
retVal = []int{len(vendorCatIDList)}
}