1
This commit is contained in:
@@ -189,7 +189,7 @@ func CopyMtToMT(ctx *jxcontext.Context, fromStore, toStore *dao.StoreDetail, isA
|
|||||||
if len(fromCategoryList) == model.NO {
|
if len(fromCategoryList) == model.NO {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
toCategoryList, err := toApi.RetailCatList(fromStore.VendorStoreID)
|
toCategoryList, err := toApi.RetailCatList(toStore.VendorStoreID)
|
||||||
if len(toCategoryList) == model.NO {
|
if len(toCategoryList) == model.NO {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@@ -232,7 +232,7 @@ func CopyMtToMT(ctx *jxcontext.Context, fromStore, toStore *dao.StoreDetail, isA
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
i++
|
i++
|
||||||
time.Sleep(1 * time.Second)
|
time.Sleep(500 * time.Millisecond)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user