diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/tarifas/BusquedaAlteracaoPrecoPedagioController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/tarifas/BusquedaAlteracaoPrecoPedagioController.java index 3e3a55164..7320d2175 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/tarifas/BusquedaAlteracaoPrecoPedagioController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/tarifas/BusquedaAlteracaoPrecoPedagioController.java @@ -14,28 +14,27 @@ import org.zkoss.zk.ui.event.EventListener; import org.zkoss.zul.Combobox; import org.zkoss.zul.Paging; -import com.rjconsultores.ventaboletos.entidad.ClaseServicio; -import com.rjconsultores.ventaboletos.entidad.Marca; -import com.rjconsultores.ventaboletos.entidad.Moneda; +import com.rjconsultores.ventaboletos.constantes.Constantes; import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente; -import com.rjconsultores.ventaboletos.entidad.Parada; import com.rjconsultores.ventaboletos.entidad.Peaje; import com.rjconsultores.ventaboletos.entidad.Ruta; -import com.rjconsultores.ventaboletos.entidad.TarifaOficial; import com.rjconsultores.ventaboletos.service.OrgaoConcedenteService; import com.rjconsultores.ventaboletos.service.RutaService; -import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado; import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer; import com.rjconsultores.ventaboletos.web.utilerias.MyListbox; import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject; import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper; import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPedagio; -import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTarifaOficial; @Controller("busquedaAlteracaoPrecoPedagioController") @Scope("prototype") public class BusquedaAlteracaoPrecoPedagioController extends MyGenericForwardComposer { + /** + * + */ + private static final long serialVersionUID = 1L; + @Autowired private OrgaoConcedenteService orgaoConcedenteService; @@ -59,8 +58,12 @@ public class BusquedaAlteracaoPrecoPedagioController extends MyGenericForwardCo super.doAfterCompose(comp); lsOrgaoConcedente = new ArrayList(); - lsOrgaoConcedente.add(orgaoConcedenteService.obtenerID(3)); - lsOrgaoConcedente.add(orgaoConcedenteService.obtenerID(21)); + for (Integer orgaoConcedenteId : Constantes.ORGAOS_CONCEDENTES_CALCULO_ANTT) { + lsOrgaoConcedente.add(orgaoConcedenteService.obtenerID(orgaoConcedenteId)); + } + for (Integer orgaoConcedenteId : Constantes.ORGAOS_CONCEDENTES_CALCULO_ARTESP) { + lsOrgaoConcedente.add(orgaoConcedenteService.obtenerID(orgaoConcedenteId)); + }