From 9be10ec291f23aed685672105b80ecbaca93d581 Mon Sep 17 00:00:00 2001 From: "song.tianyang" Date: Tue, 29 Dec 2020 18:00:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=A4=84=E7=90=86=E4=B8=8A?= =?UTF-8?q?=E6=AC=A1=E6=8F=90=E4=BA=A4=E5=90=88=E5=B9=B6=E5=86=B2=E7=AA=81?= =?UTF-8?q?=E6=97=B6=E6=9C=AA=E5=88=A0=E9=99=A4=E7=9A=84=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 处理上次提交合并冲突时未删除的代码块 --- .../io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml | 2 +- .../components/api/definition/components/list/ApiList.vue | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml index 73a6725b82..b7c5a14959 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanMapper.xml @@ -100,7 +100,7 @@ parameterType="io.metersphere.track.request.testcase.QueryTestPlanRequest"> select DISTINCT test_plan.*, user.name as user_name from test_plan LEFT JOIN user ON user.id = test_plan.principal - JOIN test_plan_project on test_plan.id = test_plan_id JOIN project on project.id = project_id + JOIN test_plan_project on test_plan.id = test_plan_project.test_plan_id JOIN project on project.id = test_plan_project.project_id diff --git a/frontend/src/business/components/api/definition/components/list/ApiList.vue b/frontend/src/business/components/api/definition/components/list/ApiList.vue index f5c965d521..b9d635ff80 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiList.vue @@ -4,11 +4,10 @@ :is-api-list-enable="isApiListEnable" @isApiListEnableChange="isApiListEnableChange"> - - @@ -90,7 +89,7 @@ :label="$t('api_test.definition.api_case_passing_rate')" show-overflow-tooltip/> - +