Add operation log

This commit is contained in:
SwallowGG
2023-10-14 16:47:26 +08:00
parent 709fc8536f
commit ce0ccd15cf
12 changed files with 197 additions and 13 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -21,4 +21,19 @@ public class OperationLogPageQueryParam extends PageQueryParam {
* 搜索关键词
*/
private String searchKey;
/**
* 数据源id
*/
private Long dataSourceId;
/**
* 数据库名称
*/
private String databaseName;
/**
* schema名称
*/
private String schemaName;
}