From 3330eb78bddb2d310362e036aeddf3c38c62c759 Mon Sep 17 00:00:00 2001 From: thiago Date: Mon, 19 Oct 2015 17:02:01 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#6735=20-=20Inclus=C3=A3o=20de=20?= =?UTF-8?q?org=C3=A3os=20concedentes=20em=20tela=20de=20consulta=20de=20pe?= =?UTF-8?q?d=C3=A1gio.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@49167 d1611594-4594-4d17-8e1d-87c2c4800839 --- ...squedaAlteracaoPrecoPedagioController.java | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) 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)); + }