薪酬系统-福利档案,生成福利档案列表表头过程中,过滤源数据中人员id为空的数据

This commit is contained in:
sy 2023-05-15 13:58:06 +08:00
parent fb271f435a
commit cf6b35f6a0
1 changed files with 1 additions and 0 deletions

View File

@ -1103,6 +1103,7 @@ public class SIArchivesBiz {
SqlSession sqlSession = MyBatisFactory.sqlSessionFactory.openSession();
Map<Integer, Map<String, String>> result = new HashMap<>();
insuranceArchivesEmployeePOS = insuranceArchivesEmployeePOS.stream().filter(f -> f.getEmployeeId() != null).collect(Collectors.toList());
insuranceArchivesEmployeePOS = insuranceArchivesEmployeePOS.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(InsuranceArchivesEmployeePO::getEmployeeId))), ArrayList::new));
try {