chore: fix typo.

This commit is contained in:
CaptainB 2024-02-01 10:30:24 +08:00 committed by 刘瑞斌
parent 6c0f1b50ed
commit 6c59e7522c
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ 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.error("userIds: ", JSON.toJSONString(userIds)); LogUtils.info("userIds: ", JSON.toJSONString(userIds));
List<User> users = getUsers(userIds); List<User> users = getUsers(userIds);
List<String> realUserIds = users.stream().map(User::getId).toList(); List<String> realUserIds = users.stream().map(User::getId).toList();
return toUsers.stream().filter(t -> realUserIds.contains(t.getUserId())).toList(); return toUsers.stream().filter(t -> realUserIds.contains(t.getUserId())).toList();