This commit is contained in:
邹宗楠
2023-09-22 11:34:01 +08:00
parent 656983d3dd
commit e3f71f6df5

View File

@@ -62,9 +62,8 @@ func CopyOnStoreSkuToOther(ctx *jxcontext.Context, fromVendorStoreId, toStoreId
//}
if v.Children != nil && len(v.Children) != 0 {
for _, c := range v.Children {
globals.SugarLogger.Debugf("==Children : %s", utils.Format4Output(c, false))
if err := toApi.RetailCatUpdate(toStore.VendorStoreID, v.Name, &mtwmapi.Param4UpdateCat{
//CategoryNameOrigin: v.Name,
CategoryNameOrigin: v.Name,
//CategoryCodeOrigin: v.Code,
//CategoryCode: v.Code,
SecondaryCategoryCode: c.Code,