|
|
|
|
|
|
|
|
List<MsgwSendDetails> list = new ArrayList<>(); |
|
|
List<MsgwSendDetails> list = new ArrayList<>(); |
|
|
if (request.getApplyId() != null){ |
|
|
if (request.getApplyId() != null){ |
|
|
MsgwSendApply apply = sendApplyRepo.findById(request.getApplyId()).orElse(null); |
|
|
MsgwSendApply apply = sendApplyRepo.findById(request.getApplyId()).orElse(null); |
|
|
|
|
|
if (apply.getAuditorOpenId() != null){ |
|
|
|
|
|
apply.setAuditorOpenId(staffRepo.findByOpenId(apply.getAuditorOpenId()).getStaffName()); |
|
|
|
|
|
} |
|
|
response.setSendApply(apply); |
|
|
response.setSendApply(apply); |
|
|
if (request.getDetailsId() != null){ |
|
|
if (request.getDetailsId() != null){ |
|
|
MsgwSendDetails sendDetails = sendDetailsRepo.findById(request.getDetailsId()).orElse(null); |
|
|
MsgwSendDetails sendDetails = sendDetailsRepo.findById(request.getDetailsId()).orElse(null); |