From 82026932c85db7518896d4b48a3bb2e79bbf5853 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 26 Apr 2021 10:35:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E6=9C=AA=E6=89=A7=E8=A1=8C=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E7=8A=B6=E6=80=81=E6=94=B9=E4=B8=BA=E6=9C=AA?= =?UTF-8?q?=E5=BC=80=E5=A7=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../track/domain/ReportResultAdvancedChartComponent.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/io/metersphere/track/domain/ReportResultAdvancedChartComponent.java b/backend/src/main/java/io/metersphere/track/domain/ReportResultAdvancedChartComponent.java index d05293cfe0..2c87b2f409 100644 --- a/backend/src/main/java/io/metersphere/track/domain/ReportResultAdvancedChartComponent.java +++ b/backend/src/main/java/io/metersphere/track/domain/ReportResultAdvancedChartComponent.java @@ -85,7 +85,7 @@ public class ReportResultAdvancedChartComponent extends ReportComponent { List apiStatusResult = new ArrayList<>(); addToReportStatusResultList(apiStatusResultMap, apiStatusResult, TestPlanTestCaseStatus.Pass.name()); addToReportStatusResultList(apiStatusResultMap, apiStatusResult, TestPlanTestCaseStatus.Failure.name()); - addToReportStatusResultList(apiStatusResultMap, apiStatusResult, TestPlanTestCaseStatus.Underway.name()); + addToReportStatusResultList(apiStatusResultMap, apiStatusResult, TestPlanTestCaseStatus.Prepare.name()); reportStatusResult.setApiResult(apiStatusResult); } @@ -93,7 +93,7 @@ public class ReportResultAdvancedChartComponent extends ReportComponent { List scenarioStatusResult = new ArrayList<>(); addToReportStatusResultList(scenarioStatusResultMap, scenarioStatusResult, TestPlanTestCaseStatus.Pass.name()); addToReportStatusResultList(scenarioStatusResultMap, scenarioStatusResult, TestPlanTestCaseStatus.Failure.name()); - addToReportStatusResultList(scenarioStatusResultMap, scenarioStatusResult, TestPlanTestCaseStatus.Underway.name()); + addToReportStatusResultList(scenarioStatusResultMap, scenarioStatusResult, TestPlanTestCaseStatus.Prepare.name()); reportStatusResult.setScenarioResult(scenarioStatusResult); } @@ -101,7 +101,7 @@ public class ReportResultAdvancedChartComponent extends ReportComponent { List loadStatusResult = new ArrayList<>(); addToReportStatusResultList(loadStatusResultMap, loadStatusResult, TestPlanTestCaseStatus.Pass.name()); addToReportStatusResultList(loadStatusResultMap, loadStatusResult, TestPlanTestCaseStatus.Failure.name()); - addToReportStatusResultList(loadStatusResultMap, loadStatusResult, TestPlanTestCaseStatus.Underway.name()); + addToReportStatusResultList(loadStatusResultMap, loadStatusResult, TestPlanTestCaseStatus.Prepare.name()); reportStatusResult.setLoadResult(loadStatusResult); } @@ -113,7 +113,7 @@ public class ReportResultAdvancedChartComponent extends ReportComponent { private void getStatusResultMap(Map reportStatusResultMap, String result) { if (StringUtils.isBlank(result)) { - result = TestPlanTestCaseStatus.Underway.name(); + result = TestPlanTestCaseStatus.Prepare.name(); } TestCaseReportStatusResultDTO statusResult = reportStatusResultMap.get(result); if (statusResult == null) {