|
@@ -260,7 +260,7 @@ public class WeComUserDetailJob {
|
|
|
List<ThirdPartWeComRoomUser> existUserList = getThirdPartWeComRoomUserListByRoomId(thirdRoomId);
|
|
|
List<Long> existUserIdList = existUserList.stream().map(ThirdPartWeComRoomUser::getUin).collect(Collectors.toList());
|
|
|
Map<Long, ThirdPartWeComRoomUser> existUserMap = existUserList.stream()
|
|
|
- .collect(Collectors.toMap(ThirdPartWeComRoomUser::getUin, roomUser -> roomUser));
|
|
|
+ .collect(Collectors.toMap(ThirdPartWeComRoomUser::getUin, roomUser -> roomUser, (a, b) -> a));
|
|
|
|
|
|
List<ThirdPartWeComRoomUser> saveList = new ArrayList<>();
|
|
|
for (GetRoomUserListResponse.Member user : userList) {
|