From 5dfcafd6d14325f78fc3d83955a63922e4044681 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Thu, 3 Nov 2022 15:32:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2=E4=B8=AD=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E7=8A=B6=E6=80=81=E5=92=8C=E9=9C=80=E6=B1=82?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --story=1010335 --user=李玉号 【测试计划】测试计划中关联测试用例时 高级筛选条件中增加用例状态过滤 https://www.tapd.cn/55049933/s/1289108 --- .../base/mapper/ext/ExtApiTestCaseMapper.xml | 6 +++ .../plan/ext/ExtTestPlanApiCaseMapper.xml | 53 +++++++++++++++++++ .../ext/ExtTestPlanScenarioCaseMapper.xml | 40 +++++++++++++- .../components/search/MsTableSearchMix.vue | 2 + .../components/search/search-components.js | 27 ++++++++-- .../mapper/ext/ExtTestPlanTestCaseMapper.xml | 41 ++++++++++++++ .../io/metersphere/dto/TestPlanCaseDTO.java | 2 + .../plan/service/TestPlanTestCaseService.java | 10 ++-- .../comonents/api/RelevanceScenarioList.vue | 18 ++++--- .../comonents/api/TestPlanApiCaseList.vue | 5 +- .../comonents/api/TestPlanApiScenarioList.vue | 5 +- .../functional/FunctionalRelevance.vue | 29 ++++++++-- .../functional/FunctionalTestCaseList.vue | 47 +++++++++++----- 13 files changed, 247 insertions(+), 38 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 68fcee1883..bc212e03f2 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 @@ -223,6 +223,12 @@ + + and t1.case_status + + + + and (t1.status diff --git a/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanApiCaseMapper.xml b/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanApiCaseMapper.xml index 074424dd0f..4ee49ca8e7 100644 --- a/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanApiCaseMapper.xml +++ b/api-test/backend/src/main/java/io/metersphere/base/mapper/plan/ext/ExtTestPlanApiCaseMapper.xml @@ -158,6 +158,13 @@ + + + + + + + @@ -179,6 +186,52 @@ + + + + and c.name + + + + + + and t.update_time + + + + + + and t.create_time + + + + + + and c.priority + + + + + + and c.path + + + + + + and c.status + + + + + + and c.case_status + + + + + + - + + + and c.name + + + + + + and t.update_time + + + + + + and t.create_time + + + + + + and c.priority + + + + + + and c.status + + + + +