From 457bb5795b6278f1c058e458a160f44bc802a54f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=81=A5?= Date: Sat, 7 Aug 2021 16:41:39 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=86=B2=E5=A2=9E=E5=A4=A7=E4=B8=BA20?= =?UTF-8?q?0m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/groovy/com/fangjia/script/util/ExcelUtils.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/util/ExcelUtils.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/util/ExcelUtils.groovy index cf32d7a34..e6f062685 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/util/ExcelUtils.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/util/ExcelUtils.groovy @@ -60,7 +60,7 @@ public class ExcelUtils{ FileInputStream inp = null; try { inp = new FileInputStream(file); - BufferedInputStream bufferedInputStream = new BufferedInputStream(inp, 1024 * 50) + BufferedInputStream bufferedInputStream = new BufferedInputStream(inp, 1024 * 200) Workbook workbook = WorkbookFactory.create(bufferedInputStream) workbook.setForceFormulaRecalculation(true) Sheet sheet = workbook.getSheetAt(sheetIndex);