|
|
@ -181,9 +181,12 @@ public class ProjectServiceImpl implements ProjectService { |
|
|
|
//组装 项目成员信息
|
|
|
|
//组装 项目成员信息
|
|
|
|
List<Long> memberIDList = new ArrayList<>(); |
|
|
|
List<Long> memberIDList = new ArrayList<>(); |
|
|
|
projectListDTOList.forEach(item ->{ |
|
|
|
projectListDTOList.forEach(item ->{ |
|
|
|
|
|
|
|
if (ObjectUtil.isNotEmpty(item.getMembers())){ |
|
|
|
memberIDList.addAll(item.getMembers().toJavaList(Long.class)); |
|
|
|
memberIDList.addAll(item.getMembers().toJavaList(Long.class)); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
memberIDList.stream().distinct().collect(Collectors.toList()); |
|
|
|
memberIDList.stream().distinct().collect(Collectors.toList()); |
|
|
|
|
|
|
|
if (ObjectUtil.isNotEmpty(memberIDList)){ |
|
|
|
List<CpUserDO> cpUserList = cpUserMapper.selectList(Wrappers.<CpUserDO>lambdaQuery().in(CpUserDO::getId, memberIDList)); |
|
|
|
List<CpUserDO> cpUserList = cpUserMapper.selectList(Wrappers.<CpUserDO>lambdaQuery().in(CpUserDO::getId, memberIDList)); |
|
|
|
projectListDTOList.forEach(item ->{ |
|
|
|
projectListDTOList.forEach(item ->{ |
|
|
|
List<CpUserDO> memberList = new ArrayList<>(); |
|
|
|
List<CpUserDO> memberList = new ArrayList<>(); |
|
|
@ -195,6 +198,8 @@ public class ProjectServiceImpl implements ProjectService { |
|
|
|
}); |
|
|
|
}); |
|
|
|
item.setMemberList(memberList); |
|
|
|
item.setMemberList(memberList); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//任务完成的
|
|
|
|
//任务完成的
|
|
|
|