修改全局参数校验异常处理器逻辑

This commit is contained in:
2024-10-08 14:28:02 +08:00
parent f703a40903
commit 79d15b5c4e
2 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ public class TableGenerateDTO {
@NotNull
private Integer end;
@NotNull
@Min(1)
@Min(message = "客位数最小为1", value = 1)
private Integer capacity;
private Integer autoClear = 1;
}