fix: AddRoleCommand 中的 roleSort 约束为 @NotBlank,导致新增角色报错

This commit is contained in:
penbox86@126.com
2023-09-22 16:39:16 +08:00
parent 88841b7ed0
commit 90f80a7d27

View File

@@ -33,7 +33,7 @@ public class AddRoleCommand {
* 角色排序
*/
@ExcelColumn(name = "角色排序")
@NotBlank(message = "显示顺序不能为空")
@NotNull(message = "显示顺序不能为空")
private Integer roleSort;