diff --git a/framework/sdk-parent/sdk/src/main/java/io/metersphere/base/mapper/ext/ExtBaseMapper.xml b/framework/sdk-parent/sdk/src/main/java/io/metersphere/base/mapper/ext/ExtBaseMapper.xml
index 4476e65484..ba4b7da806 100644
--- a/framework/sdk-parent/sdk/src/main/java/io/metersphere/base/mapper/ext/ExtBaseMapper.xml
+++ b/framework/sdk-parent/sdk/src/main/java/io/metersphere/base/mapper/ext/ExtBaseMapper.xml
@@ -22,6 +22,41 @@
+
+
+
+ like CONCAT('%', #{${object}.value},'%')
+
+
+ in
+
+ #{v}
+
+
+
+ between #{${object}.value[0]} and #{${object}.value[1]}
+
+
+ > #{${object}.value}
+
+
+ < #{${object}.value}
+
+
+ >= #{${object}.value}
+
+
+ <= #{${object}.value}
+
+
+ = '${@io.metersphere.commons.utils.SessionUtils@getUserId()}'
+
+
+ = #{${object}.value}
+
+
+
+
diff --git a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
index 007c129b2f..e6cfb062a9 100644
--- a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
+++ b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
@@ -133,7 +133,12 @@
- and test_case.id in (
+
+ and test_case.id not in (
+
+
+ and test_case.id in (
+
select resource_id from custom_field_test_case where field_id = #{custom.id}
@@ -141,19 +146,19 @@
and left(replace(unix_timestamp(trim(both '"' from `value`)), '.', ''), 13)
-
+
and text_value
-
+
and trim(both '"' from value)
-
+