From ca37cdad7032f00f99102e83f6d0abce2f06a5b0 Mon Sep 17 00:00:00 2001 From: wyb <1977763549@qq.com> Date: Thu, 22 Aug 2024 15:16:26 +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 dfe51bc..6f5ad56 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 @@ -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); } } - }); } }