|
|
|
|
@ -711,7 +711,12 @@ public class Job {
|
|
|
|
|
try { |
|
|
|
|
List<MailAttachmentDTO> mailAttachmentDTOS = JSON.parseArray(json, MailAttachmentDTO.class); |
|
|
|
|
mailAttachmentDTOS.forEach(item -> { |
|
|
|
|
String filepath = "http://65.47.60.145/lan-api/api/file/stream/" + item.getFilepath(); |
|
|
|
|
String filepath = null; |
|
|
|
|
if (item.getDoxFilepath()!=null){ |
|
|
|
|
filepath = "http://65.47.60.145/lan-api/api/file/stream/" + item.getDoxFilepath(); |
|
|
|
|
}else { |
|
|
|
|
filepath = "http://65.47.60.145/lan-api/api/file/stream/" + item.getFilepath(); |
|
|
|
|
} |
|
|
|
|
item.setFilepath(filepath); |
|
|
|
|
}); |
|
|
|
|
return mailAttachmentDTOS; |
|
|
|
|
|