This commit is contained in:
zhangqinlin
2021-10-15 18:56:40 +08:00
parent aa05d36849
commit 8ead58a44e
15 changed files with 1097 additions and 215 deletions
@@ -45,7 +45,7 @@ public class ValidUtil {
for (ConstraintViolation<Object> constraintViolation : set) {
msg.append(constraintViolation.getMessage()).append(",");
}
if (StringUtils.isNotBlank(msg)) {
if (StringUtils.isBlank(msg)) {
throw new JeroBootException(msg.substring(0,msg.length()-1));
}
}