|
|
|
@ -502,9 +502,13 @@ public class SyncBasicFileImpl implements ISyncBasicFileService {
|
|
|
|
|
throw new RuntimeException(tbasic.getPatientId() + "保存文件数据库失败");
|
|
|
|
|
}
|
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
|
|
log.info("联众同步文件上传,本次批次传输成功病案号码为:{}({})" + tbasic.getInpatientNo(), sdf.format(tbasic.getDisDate()));
|
|
|
|
|
log.info("联众同步文件上传,本次批次传输成功病案号码为:{}({})" ,tbasic.getInpatientNo(), sdf.format(tbasic.getDisDate()));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
System.out.println("660000000000202160505".substring(2));
|
|
|
|
|
System.out.println("660000000000202160505".substring(12));
|
|
|
|
|
}
|
|
|
|
|
private ScanAssort addScanAssort(String patientId, String filePathdir, MultipartFile file, LianZhongUploadInfo.FileInfo fileInfo) {
|
|
|
|
|
|
|
|
|
|
//文件保存地址
|
|
|
|
@ -549,7 +553,6 @@ public class SyncBasicFileImpl implements ISyncBasicFileService {
|
|
|
|
|
+ File.separatorChar + month
|
|
|
|
|
+ File.separatorChar + day
|
|
|
|
|
+ File.separatorChar + inpatientNo
|
|
|
|
|
+ File.separatorChar + inpatientNo
|
|
|
|
|
+ patientId;
|
|
|
|
|
File filePath = new File(filePathdir);
|
|
|
|
|
//判断文件夹是否存在不存在创建文件夹
|
|
|
|
|