From 2cfd68292ef0c424fa963da241f01e101c4875d6 Mon Sep 17 00:00:00 2001 From: hcy <314517173@qq.com> Date: Tue, 14 May 2024 21:43:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=89=93=E5=8D=B0=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/emr/service/batchExport/BatchExportServiceImpl.java | 2 +- src/main/java/com/emr/util/CompressFileUtils.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/emr/service/batchExport/BatchExportServiceImpl.java b/src/main/java/com/emr/service/batchExport/BatchExportServiceImpl.java index 7241668..c3d1783 100644 --- a/src/main/java/com/emr/service/batchExport/BatchExportServiceImpl.java +++ b/src/main/java/com/emr/service/batchExport/BatchExportServiceImpl.java @@ -256,7 +256,7 @@ public class BatchExportServiceImpl implements BatchExportService { bis = new BufferedInputStream(new ByteArrayInputStream(file1)); //输出 int len = 0; - byte[] buf = new byte[1024 * 1024]; + byte[] buf = new byte[100 * 1024]; while ((len = bis.read(buf, 0, buf.length)) != -1) { bos.write(buf, 0, len); } diff --git a/src/main/java/com/emr/util/CompressFileUtils.java b/src/main/java/com/emr/util/CompressFileUtils.java index 9c1ca70..d5df37e 100644 --- a/src/main/java/com/emr/util/CompressFileUtils.java +++ b/src/main/java/com/emr/util/CompressFileUtils.java @@ -54,7 +54,7 @@ public class CompressFileUtils { continue; } //输出文件路径信息 - System.out.println(outPath); + //System.out.println(outPath); OutputStream out = new FileOutputStream(outPath); byte[] buf1 = new byte[1024]; @@ -65,7 +65,7 @@ public class CompressFileUtils { in.close(); out.close(); } - System.out.println("******************解压完毕********************"); + //System.out.println("******************解压完毕********************"); } /**