fix(项目管理): 修复消息通知人处理重复问题

--bug=1040946 --user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001040946
This commit is contained in:
guoyuqi 2024-05-23 15:06:47 +08:00 committed by 刘瑞斌
parent 9fa45fd490
commit a0c4df93be
1 changed files with 0 additions and 4 deletions

View File

@ -93,10 +93,6 @@ public abstract class AbstractNoticeSender implements NoticeSender {
}
protected String getSubjectText(MessageDetail messageDetail, NoticeModel noticeModel) {
//处理自定义字段的值
handleCustomFields(noticeModel);
// 处理 userIds 中包含的特殊值
noticeModel.setReceivers(getRealUserIds(messageDetail, noticeModel, messageDetail.getEvent()));
// 如果配置了模版就直接使用模版
if (StringUtils.isNotBlank(messageDetail.getSubject())) {
return MessageTemplateUtils.getContent(messageDetail.getSubject(), noticeModel.getParamMap());