zouhantao 19 часов назад
Родитель
Сommit
edf800c4eb

+ 6
- 1
zhywpt-app-msgw/src/main/java/cn/com/taiji/msgw/manager/messageWaitSend/MessageWaitSendManagerImpl.java Просмотреть файл

@@ -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);

Загрузка…
Отмена
Сохранить