Selaa lähdekoodia

202105131243

master
teddy_msi 5 vuotta sitten
vanhempi
commit
25035af5b7
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. +2
    -1
      src/main/java/com/moze/rms/utils/ExcelImporter.java

+ 2
- 1
src/main/java/com/moze/rms/utils/ExcelImporter.java Näytä tiedosto

@@ -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;


Ladataan…
Peruuta
Tallenna