From 5ea33e506823ba170885f756f19f8f08c2de590f Mon Sep 17 00:00:00 2001 From: zack Date: Mon, 27 Dec 2021 10:44:05 +0800 Subject: [PATCH] =?UTF-8?q?DEMO-20364=20=E5=AF=BC=E5=87=BAexcel2003?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=88=8A=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/fr/io/ExportApi.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/fr/io/ExportApi.java b/src/main/java/com/fr/io/ExportApi.java index f6cad8c..5b764d9 100644 --- a/src/main/java/com/fr/io/ExportApi.java +++ b/src/main/java/com/fr/io/ExportApi.java @@ -91,6 +91,7 @@ public class ExportApi { /**将结果工作薄导出为2003Excel文件*/ outputStream = new FileOutputStream(new java.io.File(outputUrl+"ExcelExport2003.xls")); ExcelExporter ExcelExport = new ExcelExporter(); + ExcelExport.setVersion(true); ExcelExport.export(outputStream, workbook.execute(parameterMap, new WriteActor())); /**将结果工作薄导出为2007Excel文件*/