1
This commit is contained in:
@@ -177,14 +177,13 @@ func CopyMtToMT(ctx *jxcontext.Context, fromStore, toStore *dao.StoreDetail, isA
|
||||
step := batchItemList[0].(int)
|
||||
switch step {
|
||||
case 1:
|
||||
|
||||
// 同步分类
|
||||
fromCategoryList, err := fromApi.RetailCatList(fromStore.VendorStoreID)
|
||||
if len(fromCategoryList) == model.NO {
|
||||
return nil, err
|
||||
}
|
||||
toCategoryList, err := toApi.RetailCatList(toStore.VendorStoreID)
|
||||
if len(toCategoryList) == model.NO {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if len(fromCategoryList) != len(toCategoryList) {
|
||||
|
||||
Reference in New Issue
Block a user