|
|
|
@ -183,6 +183,7 @@ public class ECGPollingServiceImpl implements ECGPollingService {
|
|
|
|
|
log.error("记帐号为:" + list.getPatientId() + "的病历文件名为:" + networkFilePath.getFileName() + "的文件拷贝失败", e);
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
if (new File(savaPath).exists()) {
|
|
|
|
|
//组织保存文件表数据
|
|
|
|
|
ArchiveDetailDto archiveDetailDto = new ArchiveDetailDto();
|
|
|
|
|
archiveDetailDto.setMasterId(list.getId());
|
|
|
|
@ -194,6 +195,10 @@ public class ECGPollingServiceImpl implements ECGPollingService {
|
|
|
|
|
archiveDetailDto.setTitle("心电图报告");
|
|
|
|
|
archiveDetailDto.setPdfPath(savaPath);
|
|
|
|
|
archiveDetailList.add(archiveDetailDto);
|
|
|
|
|
}else {
|
|
|
|
|
log.error("记帐号为:" + list.getPatientId() + "的病历文件名为:" + networkFilePath.getFileName() + "为损坏文件");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
log.error("记帐号为:" + list.getPatientId() + "的病历异常处理");
|
|
|
|
|