From 28813ab88bcabbf9393ccb0c23c850f398c25747 Mon Sep 17 00:00:00 2001
From: wxg0103 <727495428@qq.com>
Date: Thu, 20 Oct 2022 11:37:17 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):=20?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8Dcase=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2?=
=?UTF-8?q?=E6=89=A7=E8=A1=8C=E7=BB=93=E6=9E=9C=E6=8F=90=E7=A4=BA=E5=BC=82?=
=?UTF-8?q?=E5=B8=B8=E7=9A=84=E7=BC=BA=E9=99=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--bug=1018469 --user=王孝刚 【接口测试】接口定义高级搜索-执行结果-不属于筛选提示异常
https://www.tapd.cn/55049933/s/1269122
---
.../base/mapper/ext/ExtApiTestCaseMapper.xml | 30 +++++++++++--------
.../components/list/ApiCaseSimpleList.vue | 7 +++--
.../components/search/search-components.js | 2 ++
3 files changed, 24 insertions(+), 15 deletions(-)
diff --git a/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml b/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml
index 51af62ddfb..6ab760871d 100644
--- a/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml
+++ b/api-test/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml
@@ -114,13 +114,24 @@
#{v}
-
+
+ or t1.status is null or t1.status = ''
+
+
+ )
+
not in
#{v}
+
+ and t1.status is not null and t1.status != ''
+
+
+ or t1.status is null or t1.status = ''
+
)
@@ -228,14 +239,10 @@
- and (t3.status
+ and (t1.status
-
- or t3.status is null or t3.status = ''
-
- )
@@ -318,10 +325,10 @@