|
|
|
@@ -77,13 +77,14 @@ public class ExcelImporter { |
|
|
|
Iterator<Row> rowIt = sheet.iterator(); |
|
|
|
List<String> headerValues = null; |
|
|
|
int headerLength = 0; |
|
|
|
|
|
|
|
rowIt.next(); |
|
|
|
while (rowIt.hasNext()) { |
|
|
|
Row row = rowIt.next(); |
|
|
|
if (row.getRowNum() < headerRow) |
|
|
|
continue; |
|
|
|
|
|
|
|
List<String> rowValues = readRow(row); |
|
|
|
|
|
|
|
headerValues = rowValues.stream().map(this::getFirstLine).collect(Collectors.toList()); |
|
|
|
headerLength = headerValues.size(); |
|
|
|
break; |
|
|
|
|