|
|
@@ -217,7 +217,12 @@ public class MessageWaitSendManagerImpl extends AbstractCommManager implements M |
|
|
|
if (request.getApplyId() != null){ |
|
|
|
MsgwSendApply apply = sendApplyRepo.findById(request.getApplyId()).orElse(null); |
|
|
|
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); |
|
|
|
}else { |
|
|
|
MsgwSendDetails sendDetails = sendDetailsRepo.findById(request.getDetailsId()).orElse(null); |