|
|
|
@ -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()); |
|
|
|
|
sig.setRegistrantName(user.getData().getName()); |
|
|
|
|
if (user.isSuccess()&&ObjectUtils.isNotEmpty(user.getData())){ |
|
|
|
|
sig.setRegistrantName(user.getData().getName()); |
|
|
|
|
} |
|
|
|
|
R<User> userR = userClient.userInfoById(sig.getChargePerson()); |
|
|
|
|
sig.setChargePersonName(userR.getData().getName()); |
|
|
|
|
if (userR.isSuccess()&&ObjectUtils.isNotEmpty(userR.getData())){ |
|
|
|
|
sig.setChargePersonName(userR.getData().getName()); |
|
|
|
|
} |
|
|
|
|
ImsDutyClassEntity classEntity = imsDutyClassService.getById(sig.getDutyClass()); |
|
|
|
|
sig.setDutyClassName(classEntity.getClassName()); |
|
|
|
|
return sig; |
|
|
|
|