Procházet zdrojové kódy

Upload ExcelExportUtil.java

4.1.3.A
ANTELOP před 7 roky
rodič
revize
bc930159fb
1 změnil soubory, kde provedl 11 přidání a 3 odebrání
  1. +11
    -3
      easypoi-base/src/main/java/cn/afterturn/easypoi/excel/ExcelExportUtil.java

+ 11
- 3
easypoi-base/src/main/java/cn/afterturn/easypoi/excel/ExcelExportUtil.java Zobrazit soubor

@@ -59,10 +59,18 @@ public class ExcelExportUtil {
return batchService.appendData(dataSet);
}
public static Workbook exportBigExcel(ExportParams entity, List<ExcelExportEntity> excelParams,
Collection<?> dataSet) {
ExcelBatchExportService batchService = ExcelBatchExportService
.getExcelBatchExportService(entity, excelParams);
return batchService.appendData(dataSet);
}
public static void closeExportBigExcel() {
ExcelBatchExportService batchService = ExcelBatchExportService.getExcelBatchExportService(null,
null);
batchService.closeExportBigExcel();
ExcelBatchExportService batchService = ExcelBatchExportService.getCurrentExcelBatchExportService();
if(batchService != null) {
batchService.closeExportBigExcel();
}
}
/**


Načítá se…
Zrušit
Uložit