This commit is contained in:
suyl
2021-08-24 17:51:27 +08:00
parent 4bcdcfed15
commit cfe70ccd14
3 changed files with 10 additions and 1 deletions

View File

@@ -431,6 +431,9 @@ func RefreshStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorIDs [
return retVal, err
}
storeDetail, _ := dao.GetStoreDetail(db, storeMap.StoreID, vendorID, storeMap.VendorOrgCode)
if storeDetail == nil {
return retVal, err
}
storeManage := buildStoreManageState(ctx, db, storeMap, storeDetail, messageFlag)
if storeManage == nil {
return retVal, err
@@ -447,6 +450,9 @@ func RefreshStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorIDs [
return retVal, err
}
storeDetail, _ := dao.GetStoreDetail(db, storeMap.StoreID, vendorID, storeMap.VendorOrgCode)
if storeDetail == nil {
return retVal, err
}
storeManage := buildStoreManageState(ctx, db, storeMap, storeDetail, messageFlag)
if storeManage == nil {
return retVal, err