使用hutool切换Excel默认激活的sheet
2022-12-29 11:31 投稿人:网络编辑
Workbook workbook = WorkbookUtil.createBook(file); workbook.setActiveSheet(workbook.getSheetIndex(sheetName)); ExcelWriter excelWriter = new ExcelWriter(workbook,sheetName); excelWriter.flush(response.getOutputStream());re>