feat(REQ-3714): 调整org_user的mq发送

This commit is contained in:
zhanghonghao 2025-03-07 15:20:24 +08:00
parent 9ec0d538d3
commit 61626a7a73

View File

@ -79,7 +79,7 @@ public class OrgUserFoundationServiceImpl implements OrgUserFoundationService {
List<OrgUser> orgUserList = orgUserMap.entrySet().stream()
.filter(personIdOrgUserEntry -> personIdSet.contains(personIdOrgUserEntry.getKey()))
.map(Map.Entry::getValue).collect(Collectors.toList());
List<OrgUserDTO> dtoList = CollUtil.map(orgUsers, this::toOrgUserDTO, true);
List<OrgUserDTO> dtoList = CollUtil.map(orgUserList, this::toOrgUserDTO, true);
// 发送用户状态变更事件
batchSendStatusEvents(dtoList, topNodeId);
}