fix:取消异步上传

collector-LIS
wyb 11 months ago
parent ca170ac217
commit 3e420be139

@ -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);
}
}
});
}
}

Loading…
Cancel
Save