Commit c6edf365 by zhiwj

bug

parent 43485ee6
......@@ -398,11 +398,12 @@ public class StoreController extends DownloadUtils {
if (StringUtils.isNotBlank(cacheStoreId)) {
return RestResponse.failure(ErrorCode.OPERATION_FAILED.getCode(), "请其他门店会员转移完毕后再试");
}
StoreDTO storeDTO = storeApiService.getStoreById(UserDetailUtils.getUserDetail().getEnterpriseId(), memberTransStoreId).getResult();
if (StringUtils.isBlank(storeDTO.getBrandIds())) {
return RestResponse.failure(ErrorCode.UNKNOWN_ERROR.getCode(), "该门店无店招品牌信息,请完善后再执行此操作");
}
}
StoreDTO storeDTO = storeApiService.getStoreById(UserDetailUtils.getUserDetail().getEnterpriseId(), memberTransStoreId).getResult();
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());
if (response.isSuccess()) {
if (type == 1 && toStoreId != null) {
......
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