From a3f70d1f6473e9072f7e58df4c7aa5f8fadd77b7 Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Fri, 30 Aug 2024 14:58:39 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E7=94=A8=E4=BE=8B=E7=AE=A1=E7=90=86):?= =?UTF-8?q?=20=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=BB=93=E6=9E=84=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --task=1016127 --user=陈建星 高级搜索-高级搜索数据结构设计-后端 https://www.tapd.cn/55049933/s/1570894 --- .../system/dto/sdk/CombineCondition.java | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/dto/sdk/CombineCondition.java b/backend/services/system-setting/src/main/java/io/metersphere/system/dto/sdk/CombineCondition.java index 8f0a6a9a28..07d0453660 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/dto/sdk/CombineCondition.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/dto/sdk/CombineCondition.java @@ -24,7 +24,7 @@ public class CombineCondition { private Boolean customField = false; @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) private String operator; @@ -53,6 +53,14 @@ public class CombineCondition { * 小于 */ LT, + /** + * 数量大于 + */ + COUNT_GT, + /** + * 数量小于 + */ + COUNT_LT, /** * 等于 */ @@ -76,10 +84,6 @@ public class CombineCondition { /** * 不为空 */ - NOT_EMPTY, - /** - * 当前用户 - */ - CURRENT_USER + NOT_EMPTY } }