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("******************解压完毕********************"); } /**