From ec5d0f2c7c423e1629ee5ace14b6f918a9beacbf Mon Sep 17 00:00:00 2001 From: MeterSphere Bot <78466014+metersphere-bot@users.noreply.github.com> Date: Fri, 26 Aug 2022 13:41:04 +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=8D=E5=9B=9E=E6=94=B6=E7=AB=99=E9=AB=98=E7=BA=A7?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=89=A7=E8=A1=8C=E7=BB=93=E6=9E=9C=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84=E7=BC=BA=E9=99=B7=20(#17471)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1016224 --user=王孝刚 【接口测试】接口定义,回收站,case列表,搜索执行结果是未执行的case,搜索结果是空的 https://www.tapd.cn/55049933/s/1234082 Co-authored-by: wxg0103 <727495428@qq.com> --- .../base/mapper/ext/ExtApiTestCaseMapper.xml | 16 ++++++++++++++++ .../components/search/search-components.js | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml index 876167e155..54acc5b038 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestCaseMapper.xml @@ -114,12 +114,21 @@ #{v} + + or t3.status is null + + + ) + not in #{v} + + ) + between #{${object}.value[0]} and #{${object}.value[1]} @@ -211,6 +220,13 @@ + + and (t3.status + + + + + diff --git a/frontend/src/business/components/common/components/search/search-components.js b/frontend/src/business/components/common/components/search/search-components.js index 97528d87fb..ccedaf7122 100644 --- a/frontend/src/business/components/common/components/search/search-components.js +++ b/frontend/src/business/components/common/components/search/search-components.js @@ -178,7 +178,7 @@ export const API_CASE_PRIORITY = { } } export const API_CASE_RESULT = { - key: "status", + key: "exec_result", name: 'MsTableSearchSelect', label: 'test_track.plan_view.execute_result', operator: {