Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-10-29 14:37:54 +08:00
commit 433795f307
5 changed files with 21 additions and 0 deletions

View File

@ -53,4 +53,8 @@ public class SysDictDataDTO implements Serializable {
@ApiModelProperty(value = "更新时间") @ApiModelProperty(value = "更新时间")
@JsonProperty(access = JsonProperty.Access.READ_ONLY) @JsonProperty(access = JsonProperty.Access.READ_ONLY)
private Date updateDate; private Date updateDate;
@ApiModelProperty(value = "启用状态")
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
private Integer status;
} }

View File

@ -52,6 +52,9 @@ public class SysDictTypeDTO implements Serializable {
@JsonProperty(access = JsonProperty.Access.READ_ONLY) @JsonProperty(access = JsonProperty.Access.READ_ONLY)
private Date updateDate; private Date updateDate;
@ApiModelProperty(value = "启用状态")
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
private Integer status;
@ApiModelProperty(value = "对应字典数据") @ApiModelProperty(value = "对应字典数据")
@JsonProperty(access = JsonProperty.Access.READ_ONLY) @JsonProperty(access = JsonProperty.Access.READ_ONLY)

View File

@ -47,4 +47,9 @@ public class SysDictDataEntity extends BaseEntity {
*/ */
@TableField(fill = FieldFill.INSERT_UPDATE) @TableField(fill = FieldFill.INSERT_UPDATE)
private Date updateDate; private Date updateDate;
/**
* 启用状态
*/
private Integer status;
} }

View File

@ -43,4 +43,9 @@ public class SysDictTypeEntity extends BaseEntity {
*/ */
@TableField(fill = FieldFill.INSERT_UPDATE) @TableField(fill = FieldFill.INSERT_UPDATE)
private Date updateDate; private Date updateDate;
/**
* 启用状态
*/
private Integer status;
} }

View File

@ -0,0 +1,4 @@
ALTER TABLE `sys_dict_data`
MODIFY COLUMN `status` int NULL DEFAULT 1 COMMENT '启用状态(0未启用 1启用)' AFTER `update_date`;
ALTER TABLE `sys_dict_type`
MODIFY COLUMN `status` int NULL DEFAULT 1 COMMENT '启用状态(0未启用 1启用)' AFTER `update_date`;