//查找组织下所有人员信息
Map<String, String> mapOriginEmployee = super.lambdaQuery()
.select(EmployeeInfo::getName, EmployeeInfo::getIdcard, EmployeeInfo::getEmployeeId)
.eq(EmployeeInfo::getGroupId, groupId)
.list().stream().collect(Collectors.toMap(e -> e.getName() + "_" + e.getIdcard(), EmployeeInfo::getEmployeeId));
网友评论