feat:梅州中医院,LIS报告无法采集进行日志输出,便于反馈问题

master
wyb 2 months ago
parent 375b2ac11f
commit f39992abc3

@ -97,6 +97,7 @@ public class MzZyyReportCollectJob {
List<String> httpUrls = new ArrayList<>();
int i = 1;
for (MzZyyTestDto testFormPdf : testFormPdfs) {
try {
MzZyyLisType lisType = MzZyyLisType.getLisType(testFormPdf.getType());
List<MzZyyLisExportDto> base64Files = mzZyyLisService.exportTestFormPdf(lisType, testFormPdf.getMachineId(), testFormPdf.getSampleId(), testFormPdf.getTestDate());
for (MzZyyLisExportDto base64File : base64Files) {
@ -108,6 +109,12 @@ public class MzZyyReportCollectJob {
httpUrls.add(httpUrl);
i++;
}
} catch (Exception ex) {
log.error("梅州中医院Lis采集住院号" + inpatientNo + ",住院流水号:" + jzh + "type=" + testFormPdf.getType()
+ "machineId=" + testFormPdf.getMachineId() + ",sampleId=" + testFormPdf.getSampleId() + ",testDate=" + testFormPdf.getTestDate()
+ ",采集base64出现错误," + ex.getMessage(), ex);
return;
}
}
log.info("住院号:{},住院流水号:{},采集了 {} 份文件。", inpatientNo, jzh, httpUrls.size());

Loading…
Cancel
Save