Commit 0024f296 by guojuxing

名称重复提示文字修改

parent c6d76498
......@@ -77,7 +77,7 @@ public class PlatformBrandApiServiceImpl implements PlatformBrandApiService {
TabPlatformBrand platformBrand = platformBrandService.getByBrandName(platformBrandDTO.getPlatformBrandName());
// 如果平台品牌已存在, 直接返回; 这里先判断后执行,可能会出现并发问题,出问题了再加锁
if (platformBrand != null) {
return ServiceResponse.failure(ErrorCode.DATA_EXISTS.getCode(), platformBrand.getPlatformBrandId().toString());
return ServiceResponse.failure(ErrorCode.DATA_EXISTS.getCode(), ErrorCode.DATA_EXISTS.getMsg());
}
ServiceResponse<DictDTO> dictService = dictApiService.getDict(Constants.BUSINESS_CATEGORY, platformBrandDTO.getPlatformBrandCategoryCode());
if (!dictService.isSuccess()) {
......
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