refactor(用例管理): 高级搜索数据结构优化

--task=1016127 --user=陈建星 高级搜索-高级搜索数据结构设计-后端 https://www.tapd.cn/55049933/s/1570894
This commit is contained in:
AgAngle 2024-08-30 14:58:39 +08:00 committed by Craftsman
parent dba11130cd
commit a3f70d1f64
1 changed files with 10 additions and 6 deletions

View File

@ -24,7 +24,7 @@ public class CombineCondition {
private Boolean customField = false; private Boolean customField = false;
@Schema(description = "操作符", @Schema(description = "操作符",
allowableValues = {"IN", "NOT_IN", "BETWEEN", "GT", "LT", "EQUALS", "NOT_EQUALS", "CONTAINS", "NOT_CONTAINS", "EMPTY", "NOT_EMPTY", "CURRENT_USER"}) allowableValues = {"IN", "NOT_IN", "BETWEEN", "GT", "LT", "COUNT_GT", "COUNT_LT", "EQUALS", "NOT_EQUALS", "CONTAINS", "NOT_CONTAINS", "EMPTY", "NOT_EMPTY"})
@EnumValue(enumClass = CombineConditionOperator.class) @EnumValue(enumClass = CombineConditionOperator.class)
private String operator; private String operator;
@ -53,6 +53,14 @@ public class CombineCondition {
* 小于 * 小于
*/ */
LT, LT,
/**
* 数量大于
*/
COUNT_GT,
/**
* 数量小于
*/
COUNT_LT,
/** /**
* 等于 * 等于
*/ */
@ -76,10 +84,6 @@ public class CombineCondition {
/** /**
* 不为空 * 不为空
*/ */
NOT_EMPTY, NOT_EMPTY
/**
* 当前用户
*/
CURRENT_USER
} }
} }