Browse Source

调整

master
zouhantao 23 hours ago
parent
commit
edf800c4eb

+ 6
- 1
zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/manager/messageWaitSend/MessageWaitSendManagerImpl.java View File

if (request.getApplyId() != null){ if (request.getApplyId() != null){
MsgwSendApply apply = sendApplyRepo.findById(request.getApplyId()).orElse(null); MsgwSendApply apply = sendApplyRepo.findById(request.getApplyId()).orElse(null);
response.setSendApply(apply); response.setSendApply(apply);
list = sendDetailsRepo.findByApplyId(request.getApplyId());
if (request.getDetailsId() != null){
MsgwSendDetails sendDetails = sendDetailsRepo.findById(request.getDetailsId()).orElse(null);
list.add(sendDetails);
}else{
list = sendDetailsRepo.findByApplyId(request.getApplyId());
}
response.setSendDetails(list); response.setSendDetails(list);
}else { }else {
MsgwSendDetails sendDetails = sendDetailsRepo.findById(request.getDetailsId()).orElse(null); MsgwSendDetails sendDetails = sendDetailsRepo.findById(request.getDetailsId()).orElse(null);

Loading…
Cancel
Save