|
|
|
@ -111,7 +111,6 @@ public class FileReportServiceImpl implements FileReportService {
|
|
|
|
|
* @param downloadTask 下载任务
|
|
|
|
|
*/
|
|
|
|
|
private void report(DownloadTask downloadTask) {
|
|
|
|
|
threadPoolExecutor.execute(() -> {
|
|
|
|
|
if (downloadTask.getBasicDataType().equals(0)) {
|
|
|
|
|
ReportDownDto reportDownDto = fileReportConverter.convertDownloadPlatformParam(downloadTask);
|
|
|
|
|
String paramJson = Func.toJson(reportDownDto);
|
|
|
|
@ -123,7 +122,6 @@ public class FileReportServiceImpl implements FileReportService {
|
|
|
|
|
log.error("基础病案上报文件发生未知错误,参数:" + paramJson, ex);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -132,7 +130,6 @@ public class FileReportServiceImpl implements FileReportService {
|
|
|
|
|
* @param downloadTask 下载任务
|
|
|
|
|
*/
|
|
|
|
|
private void reportSeal(DownloadTask downloadTask) {
|
|
|
|
|
threadPoolExecutor.execute(() -> {
|
|
|
|
|
if (downloadTask.getBasicDataType().equals(2)) {
|
|
|
|
|
ReportDownDto reportDownDto = fileReportConverter.convertDownloadPlatformParam(downloadTask);
|
|
|
|
|
String paramJson = Func.toJson(reportDownDto);
|
|
|
|
@ -144,6 +141,5 @@ public class FileReportServiceImpl implements FileReportService {
|
|
|
|
|
log.error("封存病案上报文件发生未知错误,参数:" + paramJson, ex);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|