fixed bug #7810 correção modificação massiva de preços
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@58911 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a25495827c
commit
d9c61275d6
|
@ -156,11 +156,11 @@ public class ModificacionMasivaTarifasUploadController extends MyGenericForwardC
|
||||||
Sheet sheet = wb.getSheetAt(k);
|
Sheet sheet = wb.getSheetAt(k);
|
||||||
int rows = sheet.getPhysicalNumberOfRows();
|
int rows = sheet.getPhysicalNumberOfRows();
|
||||||
|
|
||||||
for (int r = 0; r < rows; r++) {
|
for (int r = 0; r < rows ; r++) {
|
||||||
|
|
||||||
Row row = sheet.getRow(r);
|
Row row = sheet.getRow(r);
|
||||||
|
|
||||||
if (row == null || (row.getCell(0).getCellType() == Cell.CELL_TYPE_STRING && (row.getCell(0).getStringCellValue().startsWith("Linha") || row.getCell(0).getStringCellValue().isEmpty()))) {
|
if (row == null || row.getCell(0) == null || (row.getCell(0).getCellType() == Cell.CELL_TYPE_STRING && (row.getCell(0).getStringCellValue().startsWith("Linha") || row.getCell(0).getStringCellValue().isEmpty()))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue