fix(用例评审): 修复用例评审时评论通知不能发给维护人的问题

--bug=1020970 --user=刘瑞斌 【消息通知】github #20647,用例评审消息通知,设置评审通知,不生效 https://www.tapd.cn/55049933/s/1317406

Closes #20647
This commit is contained in:
CaptainB 2022-12-20 11:34:50 +08:00 committed by 刘瑞斌
parent bbe39a6f24
commit 4dfe74ebd5
1 changed files with 4 additions and 0 deletions

View File

@ -190,6 +190,10 @@ public abstract class AbstractNoticeSender implements NoticeSender {
.collect(Collectors.toList());
toUsers.addAll(receivers);
}
// 评审评论时这个维护人是创建人
if (paramMap.containsKey("creator")) {
toUsers.add(new Receiver((String) paramMap.get("creator"), NotificationConstants.Type.SYSTEM_NOTICE.name()));
}
}
break;
case NoticeConstants.RelatedUser.FOLLOW_PEOPLE: