fix(消息通知): 修复评论缺陷没有通知的问题

--bug=1018818 --user=刘瑞斌 【项目设置】缺陷消息通知:评论事件的消息都收不到通知(站内信、邮件、机器人) https://www.tapd.cn/55049933/s/1276407
This commit is contained in:
CaptainB 2022-10-25 15:10:37 +08:00 committed by 刘瑞斌
parent df52280f7f
commit 7408cb4462
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public class IssueCommentController {
@PostMapping("/save")
@RequiresPermissions(PermissionConstants.PROJECT_TRACK_REVIEW_READ_COMMENT)
@SendNotice(taskType = NoticeConstants.TaskType.DEFECT_TASK, target = "#targetClass.get(#request.issuesId)", targetClass = IssuesService.class,
@SendNotice(taskType = NoticeConstants.TaskType.DEFECT_TASK, target = "#targetClass.getIssue(#request.issuesId)", targetClass = IssuesService.class,
event = NoticeConstants.Event.COMMENT, subject = "缺陷")
public IssueComment saveComment(@RequestBody IssuesRelevanceRequest request) {
request.setId(UUID.randomUUID().toString());