mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-02 21:50:43 +08:00
Merge remote-tracking branch 'origin/developing' into developing
This commit is contained in:
@ -74,4 +74,9 @@ public class Operation {
|
||||
* 是否在tab中被打开,y表示打开,n表示未打开
|
||||
*/
|
||||
private String tabOpened;
|
||||
|
||||
/**
|
||||
* operation type
|
||||
*/
|
||||
private String operationType;
|
||||
}
|
||||
|
@ -41,4 +41,9 @@ public class OperationPageQueryParam extends PageQueryParam {
|
||||
* orderBy modify time desc
|
||||
*/
|
||||
private boolean orderByDesc;
|
||||
|
||||
/**
|
||||
* operation type
|
||||
*/
|
||||
private String operationType;
|
||||
}
|
||||
|
@ -49,4 +49,9 @@ public class OperationSavedParam {
|
||||
* 是否在tab中被打开,y表示打开,n表示未打开
|
||||
*/
|
||||
private String tabOpened;
|
||||
|
||||
/**
|
||||
* operation type
|
||||
*/
|
||||
private String operationType;
|
||||
}
|
||||
|
@ -57,4 +57,9 @@ public class OperationUpdateParam {
|
||||
* 是否在tab中被打开,y表示打开,n表示未打开
|
||||
*/
|
||||
private String tabOpened;
|
||||
|
||||
/**
|
||||
* operation type
|
||||
*/
|
||||
private String operationType;
|
||||
}
|
||||
|
@ -101,6 +101,9 @@ public class OperationServiceImpl implements OperationService {
|
||||
if (StringUtils.isNotBlank(param.getTabOpened())) {
|
||||
queryWrapper.eq("tab_opened", param.getTabOpened());
|
||||
}
|
||||
if (StringUtils.isNotBlank(param.getOperationType())) {
|
||||
queryWrapper.eq("operation_type", param.getOperationType());
|
||||
}
|
||||
Integer start = param.getPageNo();
|
||||
Integer offset = param.getPageSize();
|
||||
Page<OperationSavedDO> page = new Page<>(start, offset);
|
||||
|
@ -83,4 +83,9 @@ public class OperationSavedDO implements Serializable {
|
||||
* schema名称
|
||||
*/
|
||||
private String dbSchemaName;
|
||||
|
||||
/**
|
||||
* operation type
|
||||
*/
|
||||
private String operationType;
|
||||
}
|
||||
|
@ -0,0 +1,2 @@
|
||||
ALTER TABLE `operation_saved` ADD COLUMN `operation_type` varchar(1024) NULL COMMENT '操作类型';
|
||||
|
@ -43,4 +43,9 @@ public class OperationCreateRequest extends DataSourceBaseRequest {
|
||||
* 是否在tab中被打开,y表示打开,n表示未打开
|
||||
*/
|
||||
private String tabOpened;
|
||||
|
||||
/**
|
||||
* operation type
|
||||
*/
|
||||
private String operationType;
|
||||
}
|
||||
|
@ -41,4 +41,9 @@ public class OperationQueryRequest extends PageQueryRequest {
|
||||
* orderBy modify time desc
|
||||
*/
|
||||
private Boolean orderByDesc;
|
||||
|
||||
/**
|
||||
* operation type
|
||||
*/
|
||||
private String operationType;
|
||||
}
|
||||
|
@ -38,4 +38,9 @@ public class OperationUpdateRequest {
|
||||
* 是否在tab中被打开,y表示打开,n表示未打开
|
||||
*/
|
||||
private String tabOpened;
|
||||
|
||||
/**
|
||||
* operation type
|
||||
*/
|
||||
private String operationType;
|
||||
}
|
||||
|
@ -65,4 +65,9 @@ public class OperationVO {
|
||||
* 是否在tab中被打开,y表示打开,n表示未打开
|
||||
*/
|
||||
private String tabOpened;
|
||||
|
||||
/**
|
||||
* operation type
|
||||
*/
|
||||
private String operationType;
|
||||
}
|
||||
|
Reference in New Issue
Block a user