|
@@ -45,6 +45,13 @@ public class ExcelUtils {
|
|
|
userExport(list, pojoClass, fileName, response, exportParams);
|
|
|
}
|
|
|
|
|
|
+ public static void exportXSSFExcelUser(List<?> list, String title, String sheetName, Class<?> pojoClass, String fileName,
|
|
|
+ HttpServletResponse response) {
|
|
|
+ ExportParams exportParams = new ExportParams(title, sheetName, ExcelType.XSSF);
|
|
|
+ exportParams.setStyle(ExcelExportStylerUserImpl.class);
|
|
|
+ userExport(list, pojoClass, fileName, response, exportParams);
|
|
|
+ }
|
|
|
+
|
|
|
public static void exportExcelDynamicCol(List<ExcelExportEntity> entityList, Collection<?> dataSet, String title, String sheetName, String fileName,
|
|
|
HttpServletResponse response) {
|
|
|
ExportParams exportParams = new ExportParams(title, sheetName);
|