aa
This commit is contained in:
@@ -274,7 +274,9 @@ func SyncReorderCategories2(ctx *jxcontext.Context, parentCatID, vendorID int, v
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
thingMaps, _ := dao.GetThingMapList(db, model.ThingTypeCategory, []int{vendorID}, []int{parentCatID}, []string{vendorOrgCode})
|
thingMaps, _ := dao.GetThingMapList(db, model.ThingTypeCategory, []int{vendorID}, []int{parentCatID}, []string{vendorOrgCode})
|
||||||
parentVendorCatID = thingMaps[0].VendorThingID
|
if len(thingMaps) > 0 {
|
||||||
|
parentVendorCatID = thingMaps[0].VendorThingID
|
||||||
|
}
|
||||||
|
|
||||||
if len(vendorCatIDList) > 0 {
|
if len(vendorCatIDList) > 0 {
|
||||||
err = multiStoresHandler.ReorderCategories2(ctx, vendorOrgCode, parentVendorCatID, vendorCatIDList)
|
err = multiStoresHandler.ReorderCategories2(ctx, vendorOrgCode, parentVendorCatID, vendorCatIDList)
|
||||||
|
|||||||
Reference in New Issue
Block a user