解决 db_plat 数据携带&时的bug

This commit is contained in:
2019-05-19 18:31:21 +08:00
parent 319890ea69
commit 7fd694fc69
3 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
package net.tccn.base;
import org.apache.poi.poifs.filesystem.OfficeXmlFileException;
import org.apache.poi.ss.formula.functions.T;
import org.apache.poi.ss.usermodel.*;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;
@@ -75,7 +74,7 @@ public class ExcelKit {
* @author LiangXianYou
* @date 2015-3-13 上午11:00:30
*/
public static Workbook exportExcel(List<T> list, LinkedHashMap<String, String> headMap) throws Exception {
public static <T> Workbook exportExcel(List<T> list, LinkedHashMap<String, String> headMap) throws Exception {
String[] hdNames = new String[headMap.size()]; //
String[] hds = new String[headMap.size()];