fix(测试跟踪): 复制测试计划没有操作日志的问题

--bug=1018691 --user=宋昌昌 【系统设置】操作日志-复制测试计划没有操作日志 https://www.tapd.cn/55049933/s/1282561
This commit is contained in:
song-cc-rock 2022-10-28 18:03:19 +08:00 committed by 刘瑞斌
parent 73e29e69ab
commit 7dc50da288
1 changed files with 1 additions and 0 deletions

View File

@ -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);