This commit is contained in:
邹宗楠
2023-09-22 17:45:27 +08:00
parent 246e8f2977
commit ea2435dcf9

View File

@@ -43,10 +43,10 @@ func CopyOnStoreSkuToOther(ctx *jxcontext.Context, fromVendorStoreId, toStoreId
switch step {
case 1:
// 1.加载门店商品,删除商品.当分类下没有商品时.删除分类
errs := LoadingStoreSkuList(ctx, toApi, toStore.VendorStoreID)
if errs != nil && len(errs) > 0 {
return nil, errs[0]
}
//errs := LoadingStoreSkuList(ctx, toApi, toStore.VendorStoreID)
//if errs != nil && len(errs) > 0 {
// return nil, errs[0]
//}
case 2:
// 同步分类
fromCategoryList, _ := fromApi.RetailCatList(utils.Int2Str(fromVendorStoreId))