From 49f4555e5b8afa23acf1e72393a3e72bca9998f4 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Tue, 1 Nov 2022 15:32:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E7=8A=B6=E6=80=81=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1017130 --user=宋昌昌 【测试跟踪】测试计划状态应该是已结束的时候显示了已完成 https://www.tapd.cn/55049933/s/1285140 --- .../main/java/io/metersphere/controller/TestPlanController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-track/backend/src/main/java/io/metersphere/controller/TestPlanController.java b/test-track/backend/src/main/java/io/metersphere/controller/TestPlanController.java index 98ad10f388..467e6c91c7 100644 --- a/test-track/backend/src/main/java/io/metersphere/controller/TestPlanController.java +++ b/test-track/backend/src/main/java/io/metersphere/controller/TestPlanController.java @@ -136,7 +136,7 @@ public class TestPlanController { @MsAuditLog(module = OperLogModule.TRACK_TEST_PLAN, type = OperLogConstants.UPDATE, beforeEvent = "#msClass.getLogDetails(#planId)", content = "#msClass.getLogDetails(#planId)", msClass = TestPlanService.class) public void editTestPlanStatus(@PathVariable String planId) { checkPermissionService.checkTestPlanOwner(planId); - testPlanService.editTestPlanStatus(planId); + testPlanService.checkStatus(planId); } @PostMapping("/edit/report/config")