From 63c2f11a013d219a5783451967e4164a0fb49c15 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 12 May 2021 17:57:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E5=92=8C=E8=AF=84=E5=AE=A1=E5=85=B3=E8=81=94=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=B2=A1=E6=9C=89=E5=8E=BB=E6=8E=89=E5=B7=B2?= =?UTF-8?q?=E7=BB=8F=E5=85=B3=E8=81=94=E7=9A=84=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml | 4 ++-- .../view/comonents/functional/TestCaseFunctionalRelevance.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index 465c53f4f3..03b91c2d3b 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -79,8 +79,8 @@ select test_case.id, test_case.name, test_case.priority, test_case.type, test_case.review_status from test_case as test_case left join test_case_review_test_case as T2 on test_case.id=T2.case_id and T2.review_id =#{request.reviewId} + and T2.case_id is null - ORDER BY test_case.update_time DESC @@ -119,8 +119,8 @@ select test_case.id, test_case.name, test_case.priority, test_case.type, test_case.review_status from test_case as test_case left join test_plan_test_case as T2 on test_case.id=T2.case_id and T2.plan_id =#{request.planId} - and T2.case_id is null + and T2.case_id is null ORDER BY test_case.update_time DESC diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/TestCaseFunctionalRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/functional/TestCaseFunctionalRelevance.vue index 804dcfcd91..ddbd1938c2 100644 --- a/frontend/src/business/components/track/plan/view/comonents/functional/TestCaseFunctionalRelevance.vue +++ b/frontend/src/business/components/track/plan/view/comonents/functional/TestCaseFunctionalRelevance.vue @@ -197,7 +197,7 @@ export default { } if (this.projectId) { this.condition.projectId = this.projectId; - this.result = this.$post(this.buildPagePath('/test/case/list'), this.condition, response => { + this.result = this.$post(this.buildPagePath('/test/case/relate'), this.condition, response => { let data = response.data; this.total = data.itemCount; let tableData = data.listObject;