fix(项目设置): 回退通知部分代码

This commit is contained in:
song-cc-rock 2024-04-11 15:19:17 +08:00 committed by 刘瑞斌
parent f35f88a0cf
commit dbde710cbd
1 changed files with 4 additions and 4 deletions

View File

@ -148,10 +148,10 @@ public abstract class AbstractNoticeSender implements NoticeSender {
} }
// 去重复 // 去重复
// List<String> userIds = toUsers.stream().map(Receiver::getUserId).distinct().toList(); List<String> userIds = toUsers.stream().map(Receiver::getUserId).distinct().toList();
// LogUtils.info("userIds: ", JSON.toJSONString(userIds)); LogUtils.info("userIds: ", JSON.toJSONString(userIds));
// List<User> users = getUsers(userIds, messageDetail.getProjectId()); List<User> users = getUsers(userIds, messageDetail.getProjectId());
// List<String> realUserIds = users.stream().map(User::getId).toList(); List<String> realUserIds = users.stream().map(User::getId).toList();
return toUsers; return toUsers;
} }