mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-30 11:12:55 +08:00
Add operation log
This commit is contained in:
@ -54,4 +54,31 @@ public class OperationLog {
|
||||
* ddl内容
|
||||
*/
|
||||
private String ddl;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 操作行数
|
||||
*/
|
||||
private Long operationRows;
|
||||
|
||||
/**
|
||||
* 使用时长
|
||||
*/
|
||||
private Long useTime;
|
||||
|
||||
/**
|
||||
* 扩展信息
|
||||
*/
|
||||
private String extendInfo;
|
||||
|
||||
/**
|
||||
* schema名称
|
||||
*/
|
||||
private String schemaName;
|
||||
}
|
||||
|
@ -34,4 +34,30 @@ public class OperationLogCreateParam {
|
||||
* ddl内容
|
||||
*/
|
||||
private String ddl;
|
||||
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 操作行数
|
||||
*/
|
||||
private Long operationRows;
|
||||
|
||||
/**
|
||||
* 使用时长
|
||||
*/
|
||||
private Long useTime;
|
||||
|
||||
/**
|
||||
* 扩展信息
|
||||
*/
|
||||
private String extendInfo;
|
||||
|
||||
/**
|
||||
* schema名称
|
||||
*/
|
||||
private String schemaName;
|
||||
}
|
||||
|
@ -21,4 +21,19 @@ public class OperationLogPageQueryParam extends PageQueryParam {
|
||||
* 搜索关键词
|
||||
*/
|
||||
private String searchKey;
|
||||
|
||||
/**
|
||||
* 数据源id
|
||||
*/
|
||||
private Long dataSourceId;
|
||||
|
||||
/**
|
||||
* 数据库名称
|
||||
*/
|
||||
private String databaseName;
|
||||
|
||||
/**
|
||||
* schema名称
|
||||
*/
|
||||
private String schemaName;
|
||||
}
|
||||
|
Reference in New Issue
Block a user