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-87c2c4800839master
parent
013fe85a4b
commit
3330eb78bd
|
@ -14,28 +14,27 @@ import org.zkoss.zk.ui.event.EventListener;
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
|
import com.rjconsultores.ventaboletos.constantes.Constantes;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Marca;
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Moneda;
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Peaje;
|
import com.rjconsultores.ventaboletos.entidad.Peaje;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Ruta;
|
import com.rjconsultores.ventaboletos.entidad.Ruta;
|
||||||
import com.rjconsultores.ventaboletos.entidad.TarifaOficial;
|
|
||||||
import com.rjconsultores.ventaboletos.service.OrgaoConcedenteService;
|
import com.rjconsultores.ventaboletos.service.OrgaoConcedenteService;
|
||||||
import com.rjconsultores.ventaboletos.service.RutaService;
|
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.MyGenericForwardComposer;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPedagio;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPedagio;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTarifaOficial;
|
|
||||||
|
|
||||||
@Controller("busquedaAlteracaoPrecoPedagioController")
|
@Controller("busquedaAlteracaoPrecoPedagioController")
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class BusquedaAlteracaoPrecoPedagioController extends MyGenericForwardComposer {
|
public class BusquedaAlteracaoPrecoPedagioController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private OrgaoConcedenteService orgaoConcedenteService;
|
private OrgaoConcedenteService orgaoConcedenteService;
|
||||||
|
|
||||||
|
@ -59,8 +58,12 @@ public class BusquedaAlteracaoPrecoPedagioController extends MyGenericForwardCo
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
lsOrgaoConcedente = new ArrayList<OrgaoConcedente>();
|
lsOrgaoConcedente = new ArrayList<OrgaoConcedente>();
|
||||||
lsOrgaoConcedente.add(orgaoConcedenteService.obtenerID(3));
|
for (Integer orgaoConcedenteId : Constantes.ORGAOS_CONCEDENTES_CALCULO_ANTT) {
|
||||||
lsOrgaoConcedente.add(orgaoConcedenteService.obtenerID(21));
|
lsOrgaoConcedente.add(orgaoConcedenteService.obtenerID(orgaoConcedenteId));
|
||||||
|
}
|
||||||
|
for (Integer orgaoConcedenteId : Constantes.ORGAOS_CONCEDENTES_CALCULO_ARTESP) {
|
||||||
|
lsOrgaoConcedente.add(orgaoConcedenteService.obtenerID(orgaoConcedenteId));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue