|
|
@ -460,7 +460,10 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
|
List<StaffOrgNameResultDTO> orgList = govOrgService.getStaffOrgName(staffIdList); |
|
|
|
|
|
|
|
//3.封装数据并返回
|
|
|
|
resultList.forEach(re -> orgList.stream().filter(l -> re.getStaffId().equals(l.getStaffId())).forEach(s -> re.setOrgName(s.getOrgName()))); |
|
|
|
resultList.forEach(re -> orgList.stream().filter(l -> re.getStaffId().equals(l.getStaffId())).forEach(s -> { |
|
|
|
re.setAgencyId(s.getAgencyId()); |
|
|
|
re.setOrgName(s.getOrgName()); |
|
|
|
})); |
|
|
|
|
|
|
|
return resultList; |
|
|
|
} |
|
|
|