From 132c7e83426a34b2140918e439bc6eb943287937 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Fri, 28 Oct 2022 18:03:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1018691 --user=宋昌昌 【系统设置】操作日志-复制测试计划没有操作日志 https://www.tapd.cn/55049933/s/1282561 --- .../main/java/io/metersphere/controller/TestPlanController.java | 1 + 1 file changed, 1 insertion(+) 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 2d1c07be4a..98ad10f388 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 @@ -189,6 +189,7 @@ public class TestPlanController { } @PostMapping("/copy/{id}") + @MsAuditLog(module = OperLogModule.TRACK_TEST_PLAN, type = OperLogConstants.COPY, content = "#msClass.getLogDetails(#id)", msClass = TestPlanService.class) @SendNotice(taskType = NoticeConstants.TaskType.TEST_PLAN_TASK, event = NoticeConstants.Event.CREATE, subject = "测试计划通知") public TestPlan copy(@PathVariable String id) { return testPlanService.copy(id);