diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/query/BdInviteMessageQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/query/BdInviteMessageQryExe.java index 1890230f..c4d46f8f 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/query/BdInviteMessageQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/query/BdInviteMessageQryExe.java @@ -64,12 +64,12 @@ public class BdInviteMessageQryExe { Map userProfileMap = userProfileAppConvertor.toMapUserProfileDTO( userProfileGateway.mapByUserIds( - messages.stream().map(BdInviteAgentMessage::getUserId).collect(Collectors.toSet()) + messages.stream().map(BdInviteAgentMessage::getInviteUserId).collect(Collectors.toSet()) ) ); return messages.stream().map(msg -> new BdInviteMessageCO() .setId(msg.getId()) - .setUserProfile(Optional.ofNullable(userProfileMap.get(msg.getUserId())) + .setUserProfile(Optional.ofNullable(userProfileMap.get(msg.getInviteUserId())) .map(userProfile -> { userProfile.setAccount(userProfile.actualAccount()); return userProfile;