ChenJiaHe
2022-12-23 b4fb02203aa979537b86dd038b6cbcf0803ca3ec
src/main/java/com/hx/util/ExcelUtil.java
@@ -116,7 +116,7 @@
    */
   public static File createExcel(String[] headList, String[] fieldList,
                           List<Map<String, Object>> dataList) throws Exception {
      File file = File.createTempFile("temp", ".xls");
      File file = File.createTempFile("temp", ".xlsx");
      try{
         // 创建新的Excel 工作簿
         HSSFWorkbook workbook = new HSSFWorkbook();