0.1.3-SNAPSHOT #1

Merged
ZhouXY108 merged 25 commits from dev into main 2024-08-05 08:59:30 +08:00
Showing only changes of commit dc09453a1a - Show all commits

View File

@ -10,7 +10,7 @@ public class IntValidator<DTO> extends PropertyValidator<DTO, Integer, IntValida
}
public IntValidator<DTO> between(int min, int max) {
return between(min, max, String.format("数值不在 %s 和 %s 之间", String.valueOf(min), String.valueOf(max)));
return between(min, max, String.format("数值不在 %d 和 %d 之间", min, max));
}
public IntValidator<DTO> between(int min, int max, String errMsg) {