|
|
|
@ -122,12 +122,14 @@ public class MedicaRecordServiceImpl implements MedicaRecordService {
|
|
|
|
archiveOtherExtDto.setC2(id);
|
|
|
|
archiveOtherExtDto.setC2(id);
|
|
|
|
archiveOtherDao.addArchiveOtherExt(archiveOtherExtDto);
|
|
|
|
archiveOtherDao.addArchiveOtherExt(archiveOtherExtDto);
|
|
|
|
//同步文件
|
|
|
|
//同步文件
|
|
|
|
|
|
|
|
updateDetail(compensateVo);
|
|
|
|
//下载图像
|
|
|
|
//下载图像
|
|
|
|
if (!DownloadFile(url, newSavePath)){
|
|
|
|
if (!DownloadFile(url, newSavePath)){
|
|
|
|
log.info("当前文件下载失败住院号为:"+inpNo+",住院次数为:"+visitId);
|
|
|
|
log.info("当前文件下载失败住院号为:"+inpNo+",住院次数为:"+visitId);
|
|
|
|
failOther(updateOtherDao, compensateVo);
|
|
|
|
failOther(updateOtherDao, compensateVo);
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//下载成功保存文件表信息
|
|
|
|
//下载成功保存文件表信息
|
|
|
|
archiveDetailDto.setId(newDate);
|
|
|
|
archiveDetailDto.setId(newDate);
|
|
|
|
archiveDetailDto.setPdfPath(newSavePath);
|
|
|
|
archiveDetailDto.setPdfPath(newSavePath);
|
|
|
|
|