Commit 081266d6 by zhiwj

增加提示

parent ffb26988
......@@ -400,7 +400,7 @@ public class StoreController extends DownloadUtils {
}
}
StoreDTO storeDTO = storeApiService.getStoreById(UserDetailUtils.getUserDetail().getEnterpriseId(), memberTransStoreId).getResult();
if (StringUtils.isNotBlank(storeDTO.getBrandIds())) {
if (StringUtils.isBlank(storeDTO.getBrandIds())) {
return RestResponse.failure(ErrorCode.UNKNOWN_ERROR.getCode(), "该门店无店招品牌信息,请完善后再执行此操作");
}
ServiceResponse response = this.storeApiService.bulkUpdateStore(storeIds, value, enterpriseId, type, UserDetailUtils.getUserDetail().getUserId(), UserDetailUtils.getUserDetail().getUserInfo().getUserName());
......@@ -454,7 +454,7 @@ public class StoreController extends DownloadUtils {
storeInfoList = this.storeApiService.listStore(storeSearchDTO, 1, storeIds.split(" ").length, "storeInfoId").getResult().getResult();
}
StoreDTO storeDTO = storeApiService.getStoreById(UserDetailUtils.getUserDetail().getEnterpriseId(), memberTransStoreId).getResult();
if (StringUtils.isNotBlank(storeDTO.getBrandIds())) {
if (StringUtils.isBlank(storeDTO.getBrandIds())) {
return ServiceResponse.failure(ErrorCode.UNKNOWN_ERROR.getCode(), "该门店无店招品牌信息,请完善后再执行此操作");
}
Integer storeInfoId = storeDTO.getStoreInfoId();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment