eduardo.dicarde 2016-07-07 17:16:07 +00:00
parent a607375e31
commit 5d2fb93f21
2 changed files with 4 additions and 6 deletions

View File

@ -163,9 +163,6 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
private Tab tabCategoria; private Tab tabCategoria;
private final int ROW_CABECALHO = 0; private final int ROW_CABECALHO = 0;
private final int ROW_PEDAGIO = 16;
private final int ROW_TXEMBARQUE = 18;
private final int ROW_SEGURO = 19;
//INDICES PLANILHA //INDICES PLANILHA
private final int IDX_CELL_ID = 0; private final int IDX_CELL_ID = 0;
@ -905,7 +902,7 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.PEDAGIO.getDescricao())|| if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.PEDAGIO.getDescricao())||
cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){ cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){
if (!validarComponente(obj, ROW_PEDAGIO)){ if (!validarComponente(obj, IDX_CELL_PEDAGIOATUAL)){
return false; return false;
} }
@ -920,7 +917,7 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TX_EMBARQUE.getDescricao())|| if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TX_EMBARQUE.getDescricao())||
cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){ cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){
if (!validarComponente(obj, ROW_TXEMBARQUE)){ if (!validarComponente(obj, IDX_CELL_TXEMBARQUEATUAL)){
return false; return false;
} }
@ -935,7 +932,7 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.SEGURO.getDescricao())|| if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.SEGURO.getDescricao())||
cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){ cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){
if (!validarComponente(obj, ROW_SEGURO)){ if (!validarComponente(obj, IDX_CELL_SEGUROATUAL)){
return false; return false;
} }

View File

@ -1,4 +1,5 @@
/* /*
* To change this template, choose Tools | Templates * To change this template, choose Tools | Templates
* and open the template in the editor. * and open the template in the editor.
*/ */