修改全局参数校验异常处理器逻辑
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user