diff --git a/kernel-s-dict/dict-business/src/main/java/cn/stylefeng/roses/kernel/dict/modular/pojo/request/DictRequest.java b/kernel-s-dict/dict-business/src/main/java/cn/stylefeng/roses/kernel/dict/modular/pojo/request/DictRequest.java index c900f262c..229616679 100644 --- a/kernel-s-dict/dict-business/src/main/java/cn/stylefeng/roses/kernel/dict/modular/pojo/request/DictRequest.java +++ b/kernel-s-dict/dict-business/src/main/java/cn/stylefeng/roses/kernel/dict/modular/pojo/request/DictRequest.java @@ -85,7 +85,7 @@ public class DictRequest extends BaseRequest { /** * 字典类型id */ - @NotBlank(message = "字典类型id不能为空", groups = {add.class, edit.class, treeList.class}) + @NotNull(message = "字典类型id不能为空", groups = {add.class, edit.class, treeList.class}) @ChineseDescription("字典类型id") private Long dictTypeId;