Browse Source

Merge branch '20250903-wyp-autoCreateRoom' of Server/growth-manager into master

wangyunpeng 1 week ago
parent
commit
74caa2fea8

+ 1 - 1
api-module/src/main/java/com/tzld/piaoquan/api/job/wecom/thirdpart/WeComUserDetailJob.java

@@ -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) {