From 287efc7644ca770c7dd9cd1b8f292094ab31d6f3 Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Tue, 22 Oct 2024 11:29:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E5=88=97=E8=A1=A8=E8=83=BD=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E5=88=B0=E6=B2=A1=E6=9C=89=E6=89=A7=E8=A1=8C=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E7=9A=84=E6=8A=A5=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/api/mapper/ExtApiReportMapper.xml | 1 + .../io/metersphere/api/mapper/ExtApiScenarioReportMapper.xml | 1 + .../java/io/metersphere/plan/mapper/ExtTestPlanReportMapper.xml | 1 + 3 files changed, 3 insertions(+) diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiReportMapper.xml b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiReportMapper.xml index de7f200942..1779c65dab 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiReportMapper.xml +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiReportMapper.xml @@ -37,6 +37,7 @@ and ar.project_id = #{request.projectId} + and status in ('SUCCESS', 'ERROR', 'FAKE_ERROR') diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiScenarioReportMapper.xml b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiScenarioReportMapper.xml index 6d95ef4376..f79fdecbca 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiScenarioReportMapper.xml +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiScenarioReportMapper.xml @@ -36,6 +36,7 @@ and asr.project_id = #{request.projectId} + and status in ('SUCCESS', 'ERROR', 'FAKE_ERROR') diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanReportMapper.xml b/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanReportMapper.xml index c181277eff..af76841e8e 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanReportMapper.xml +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/mapper/ExtTestPlanReportMapper.xml @@ -297,6 +297,7 @@ tpr.deleted = 0 + and tpr.result_status in ('SUCCESS', 'ERROR', 'FAKE_ERROR') and tpr.project_id = #{request.projectId}