fix:取消异步上传

collector-patient-scan
wyb 11 months ago
parent 95bd4434f3
commit ca37cdad70

@ -133,7 +133,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);
try {
@ -147,7 +146,6 @@ public class FileReportServiceImpl implements FileReportService {
log.error("文件上报下载服务出错啦!数据为:" + Func.toJson(reportDownDto), ex);
}
}
});
}
@ -157,7 +155,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);
@ -169,6 +166,5 @@ public class FileReportServiceImpl implements FileReportService {
log.error("封存病案上报文件发生未知错误,参数:" + paramJson, ex);
}
}
});
}
}

Loading…
Cancel
Save