fix: AddRoleCommand 中的 roleSort 约束为 @NotBlank,导致新增角色报错
This commit is contained in:
@@ -33,7 +33,7 @@ public class AddRoleCommand {
|
||||
* 角色排序
|
||||
*/
|
||||
@ExcelColumn(name = "角色排序")
|
||||
@NotBlank(message = "显示顺序不能为空")
|
||||
@NotNull(message = "显示顺序不能为空")
|
||||
private Integer roleSort;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user