@NotNull和@NotBlank的区别 @NotBlank只能注释在字符串字段(String)上;不能注释在Integer;注释Integer的类型要用@NotNull
否则会报"HV000030: No validator could be found for type: java.lang.Integer
"HV000030: No validator could be found for type: java.lang.Integer