|
|
@ -72,10 +72,32 @@ public class QueueService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/**2021-1-26 等lis程序升级 去掉*/
|
|
|
|
/**2021-1-26 等lis程序升级 去掉*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**2021-4-25 等超声补传完 去掉*/
|
|
|
|
|
|
|
|
if (Objects.equals(messageDto.getType(), AliasName.ULTRASONIC_REPORT) && archiveMaster.getArchiveState().equals("已归档")){
|
|
|
|
|
|
|
|
messageSubordinate.setStatus(3);
|
|
|
|
|
|
|
|
messageSubordinateService.save(messageSubordinate);
|
|
|
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**2021-4-25 等超声补传完 去掉*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**2021-4-25 等心电图补传完 去掉*/
|
|
|
|
|
|
|
|
if (Objects.equals(messageDto.getType(), AliasName.EKG_REPORT) && archiveMaster.getArchiveState().equals("已归档")){
|
|
|
|
|
|
|
|
messageSubordinate.setStatus(3);
|
|
|
|
|
|
|
|
messageSubordinateService.save(messageSubordinate);
|
|
|
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**2021-4-25 等心电图补传完 去掉*/
|
|
|
|
|
|
|
|
|
|
|
|
if ( !Objects.equals(messageDto.getType(), AliasName.PATHOLOGY_REPORT)
|
|
|
|
if ( !Objects.equals(messageDto.getType(), AliasName.PATHOLOGY_REPORT)
|
|
|
|
/**2021-1-26 等lis程序升级 去掉*/
|
|
|
|
/**2021-1-26 等lis程序升级 去掉*/
|
|
|
|
&& !Objects.equals(messageDto.getType(), AliasName.INSPECTION_REPORT)
|
|
|
|
&& !Objects.equals(messageDto.getType(), AliasName.INSPECTION_REPORT)
|
|
|
|
/**2021-1-26 等lis程序升级 去掉*/
|
|
|
|
/**2021-1-26 等lis程序升级 去掉*/
|
|
|
|
|
|
|
|
/**2021-4-25 等超声补传完 去掉*/
|
|
|
|
|
|
|
|
&& !Objects.equals(messageDto.getType(), AliasName.ULTRASONIC_REPORT)
|
|
|
|
|
|
|
|
/**2021-4-25 等超声补传完 去掉*/
|
|
|
|
|
|
|
|
/**2021-4-25 等心电图补传完 去掉*/
|
|
|
|
|
|
|
|
&& !Objects.equals(messageDto.getType(), AliasName.EKG_REPORT)
|
|
|
|
|
|
|
|
/**2021-4-25 等心电图补传完 去掉*/
|
|
|
|
&& (archiveMaster.getArchiveState().equals("初审") || archiveMaster.getArchiveState().equals("已归档"))
|
|
|
|
&& (archiveMaster.getArchiveState().equals("初审") || archiveMaster.getArchiveState().equals("已归档"))
|
|
|
|
){
|
|
|
|
){
|
|
|
|
messageSubordinate.setStatus(3);
|
|
|
|
messageSubordinate.setStatus(3);
|
|
|
@ -224,6 +246,12 @@ public class QueueService {
|
|
|
|
pdfPath = PdfUtils.imagesToPdf(imageFile, pdfFile);
|
|
|
|
pdfPath = PdfUtils.imagesToPdf(imageFile, pdfFile);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//金域外送报告解析 2021-05-06
|
|
|
|
|
|
|
|
if (Objects.equals(messageDto.getType(), AliasName.INSPECTION_REPORT)){
|
|
|
|
|
|
|
|
PdfUtils.base64StringToPDF(address,pdfFile.getAbsolutePath());
|
|
|
|
|
|
|
|
pdfPath=pdfFile.getAbsolutePath();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//存入pdf地址
|
|
|
|
//存入pdf地址
|
|
|
|