Explorar el Código

202105131243

master
teddy_msi hace 5 años
padre
commit
25035af5b7
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      src/main/java/com/moze/rms/utils/ExcelImporter.java

+ 2
- 1
src/main/java/com/moze/rms/utils/ExcelImporter.java Ver fichero

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


Cargando…
Cancelar
Guardar