fixed bug #6735 - Inclusão de orgãos concedentes em tela de consulta de pedágio.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@49167 d1611594-4594-4d17-8e1d-87c2c4800839
master
thiago 2015-10-19 17:02:01 +00:00
parent 013fe85a4b
commit 3330eb78bd
1 changed files with 12 additions and 9 deletions

View File

@ -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<OrgaoConcedente>();
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));
}