|
|
@ -297,9 +297,9 @@ public class UserBadgeServiceImpl implements UserBadgeService { |
|
|
|
.map(AuthFieldResultDTO::getEnName).collect(Collectors.toSet()); |
|
|
|
List<String> missColumns = ValidatorUtils.hasAllRequired(JSON.toJSONString(certificationAddFormDTO), requiredColumns); |
|
|
|
if (!CollectionUtils.isEmpty(missColumns)) { |
|
|
|
EpmetErrorCode.BADGE_CHECK.setMsg(JSON.toJSONString(missColumns).concat("不能为空")); |
|
|
|
throw new RenException(EpmetErrorCode.BADGE_CHECK.getCode()); |
|
|
|
// throw new RenException(JSON.toJSONString(missColumns).concat("不能为空"));
|
|
|
|
/*EpmetErrorCode.BADGE_CHECK.setMsg(JSON.toJSONString(missColumns).concat("不能为空")); |
|
|
|
throw new RenException(EpmetErrorCode.BADGE_CHECK.getCode());*/ |
|
|
|
throw new RenException(JSON.toJSONString(missColumns).concat("不能为空")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|