From 3e420be1399a9e0d254b596d404c4be9bf9b2f84 Mon Sep 17 00:00:00 2001 From: wyb <1977763549@qq.com> Date: Thu, 22 Aug 2024 15:11:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8F=96=E6=B6=88=E5=BC=82=E6=AD=A5?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/collect/service/impl/FileReportServiceImpl.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/docus/server/collect/service/impl/FileReportServiceImpl.java b/src/main/java/com/docus/server/collect/service/impl/FileReportServiceImpl.java index 189e875..3d0088b 100644 --- a/src/main/java/com/docus/server/collect/service/impl/FileReportServiceImpl.java +++ b/src/main/java/com/docus/server/collect/service/impl/FileReportServiceImpl.java @@ -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); } } - }); } }