优化:优化日志表结构(新增 module 所属模块字段);优化日志引擎部分代码;使用 defaultIfNull() 和 blankToDefault 替换部分三元运算符代码(便于阅读及理解);将 BaseEntity 重命名为 BaseDO

This commit is contained in:
2023-01-31 20:29:48 +08:00
parent 1837047a9e
commit 21fe29b56f
22 changed files with 144 additions and 94 deletions

View File

@@ -17,6 +17,7 @@ export interface LoginLogRecord extends LogRecord {
}
export interface OperationLogRecord extends LogRecord {
module: string;
description: string;
status: number;
errorMsg: string;

View File

@@ -155,6 +155,10 @@
title: '操作内容',
dataIndex: 'description',
},
{
title: '所属模块',
dataIndex: 'module',
},
{
title: '操作状态',
dataIndex: 'status',

View File

@@ -83,6 +83,10 @@
title: '操作内容',
dataIndex: 'description',
},
{
title: '所属模块',
dataIndex: 'module',
},
{
title: '操作状态',
dataIndex: 'status',