diff --git a/blade-common/src/main/java/org/springblade/common/constant/CommonConstant.java b/blade-common/src/main/java/org/springblade/common/constant/CommonConstant.java index 4fe16884..203a2318 100644 --- a/blade-common/src/main/java/org/springblade/common/constant/CommonConstant.java +++ b/blade-common/src/main/java/org/springblade/common/constant/CommonConstant.java @@ -90,6 +90,10 @@ public interface CommonConstant { */ String TOP_PARENT_NAME = "顶级"; + /** + * 未封存状态值 + */ + Integer NOT_SEALED_ID = 0; /** * 默认密码 diff --git a/blade-service-api/blade-dict-api/src/main/java/org/springblade/system/entity/Dict.java b/blade-service-api/blade-dict-api/src/main/java/org/springblade/system/entity/Dict.java index 8dfe7834..68062c7a 100644 --- a/blade-service-api/blade-dict-api/src/main/java/org/springblade/system/entity/Dict.java +++ b/blade-service-api/blade-dict-api/src/main/java/org/springblade/system/entity/Dict.java @@ -85,6 +85,12 @@ public class Dict implements Serializable { @ApiModelProperty(value = "字典备注") private String remark; + /** + * 是否已封存 + */ + @ApiModelProperty(value = "是否已封存") + private Integer isSealed; + /** * 是否已删除 */ diff --git a/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DictMapper.xml b/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DictMapper.xml index 37d3fbc3..cdad4740 100644 --- a/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DictMapper.xml +++ b/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DictMapper.xml @@ -46,7 +46,7 @@ -->