@Slf4j
public class ExcelProviderUtil implements Iterator<Object[]> {
private BufferedReader br = null;
//行数
private int rowNum = 0;
//获取次数
private int curRowNo = 0;
//excel中所有行数据
List<Map<String, Object>> excelList;
/**
*
* @param filePath excel文件路径
* @param sheetIndex
*/
public ExcelProviderUtil(String filePath, int sheetIndex){
excelList = ReadExcelData.getDataToMap(filePath
读Excel获取List<Map<String, Object>>
最新推荐文章于 2024-07-20 16:40:31 发布