refactor: 移除sys_log表中的逻辑删除标识,并在DictItem实体中添加创建人和更新人ID字段

This commit is contained in:
Ray.Hao
2025-12-22 08:05:51 +08:00
parent f7ddb8e3c1
commit 34171529ef
2 changed files with 10 additions and 1 deletions

View File

@@ -395,7 +395,6 @@ CREATE TABLE `sys_log` (
`os` varchar(100) COMMENT '终端系统',
`create_by` bigint COMMENT '创建人ID',
`create_time` datetime COMMENT '创建时间',
`is_deleted` tinyint DEFAULT '0' COMMENT '逻辑删除标识(1-已删除 0-未删除)',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_create_time` (`create_time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COMMENT='系统操作日志表';

View File

@@ -50,4 +50,14 @@ public class DictItem extends BaseEntity {
* 标签类型
*/
private String tagType;
/**
* 创建人 ID
*/
private Long createBy;
/**
* 更新人 ID
*/
private Long updateBy;
}