mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-30 03:03:13 +08:00
Add operation log
This commit is contained in:
@ -66,4 +66,5 @@ public class OperationLogController {
|
||||
return operationLogService.create(param);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -16,4 +16,19 @@ public class OperationLogQueryRequest extends PageQueryRequest {
|
||||
* 模糊词搜索
|
||||
*/
|
||||
private String searchKey;
|
||||
|
||||
/**
|
||||
* 数据源id
|
||||
*/
|
||||
private Long dataSourceId;
|
||||
|
||||
/**
|
||||
* 数据库名称
|
||||
*/
|
||||
private String databaseName;
|
||||
|
||||
/**
|
||||
* schema名称
|
||||
*/
|
||||
private String schemaName;
|
||||
}
|
||||
|
@ -45,4 +45,34 @@ public class OperationLogVO {
|
||||
* ddl语言类型
|
||||
*/
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* ddl内容
|
||||
*/
|
||||
private String ddl;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 操作行数
|
||||
*/
|
||||
private Long operationRows;
|
||||
|
||||
/**
|
||||
* 使用时长
|
||||
*/
|
||||
private Long useTime;
|
||||
|
||||
/**
|
||||
* 扩展信息
|
||||
*/
|
||||
private String extendInfo;
|
||||
|
||||
/**
|
||||
* schema名称
|
||||
*/
|
||||
private String schemaName;
|
||||
}
|
||||
|
Reference in New Issue
Block a user