From f0b0e024596795faf03b212930fbe17e0c82277b Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Mon, 24 Jun 2024 16:47:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E5=81=9C=E6=AD=A2=E8=AE=A1=E5=88=92=E4=BB=BB=E5=8A=A1=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E6=9B=B4=E6=96=B0=E7=94=A8=E4=BE=8B=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plan/service/TestPlanExecuteSupportService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanExecuteSupportService.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanExecuteSupportService.java index 3f7c3bf8fd..c47fd190be 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanExecuteSupportService.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanExecuteSupportService.java @@ -62,7 +62,9 @@ public class TestPlanExecuteSupportService { LogUtils.info("开始合并报告: --- 报告ID[{}],是否是报告组[{}]", reportId, isGroupReport); try { // 如果是停止的计划任务, 报告用例状态改成STOPPED - updateReportDetailStopped(reportId); + if (isStop) { + updateReportDetailStopped(reportId); + } if (isGroupReport) { testPlanReportService.summaryGroupReport(reportId);