|
|
|
@ -80,9 +80,13 @@ public class ImsDutyEmergencyServiceImpl extends BaseServiceImpl<ImsDutyEmergenc
|
|
|
|
|
if (CollectionUtils.isNotEmpty(records)){ |
|
|
|
|
collect= records.stream().map(sig -> { |
|
|
|
|
R<User> user = userClient.userInfoById(sig.getRegistrant()); |
|
|
|
|
if (user.isSuccess()&&ObjectUtils.isNotEmpty(user.getData())){ |
|
|
|
|
sig.setRegistrantName(user.getData().getName()); |
|
|
|
|
} |
|
|
|
|
R<User> userR = userClient.userInfoById(sig.getChargePerson()); |
|
|
|
|
if (userR.isSuccess()&&ObjectUtils.isNotEmpty(userR.getData())){ |
|
|
|
|
sig.setChargePersonName(userR.getData().getName()); |
|
|
|
|
} |
|
|
|
|
ImsDutyClassEntity classEntity = imsDutyClassService.getById(sig.getDutyClass()); |
|
|
|
|
sig.setDutyClassName(classEntity.getClassName()); |
|
|
|
|
return sig; |
|
|
|
|