fixed bug #7474 - correção geração automática de linhas e trechos
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@56090 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
3b25072901
commit
315ab5b7df
|
@ -160,7 +160,7 @@ public class TramoRutaServiceImpl implements TramoRutaService {
|
||||||
|
|
||||||
for (SecuenciaRutaTramoCoeficienteVO s : rutaTramoVO.getLsCombinacionRutaTramoVO()) {
|
for (SecuenciaRutaTramoCoeficienteVO s : rutaTramoVO.getLsCombinacionRutaTramoVO()) {
|
||||||
RutaCombinacion rutaCombinacion = new RutaCombinacion();
|
RutaCombinacion rutaCombinacion = new RutaCombinacion();
|
||||||
rutaCombinacion.setIndventa(s.getPermiteVenda());
|
rutaCombinacion.setIndventa(s.getPermiteVenda() == null ? true : s.getPermiteVenda());
|
||||||
rutaCombinacion.setRuta(ruta);
|
rutaCombinacion.setRuta(ruta);
|
||||||
rutaCombinacion.setTramo(tramoService.obtenerTramotPorOrigemDestinoVia(s.getOrigen(), s.getDestino(), s.getVia()));
|
rutaCombinacion.setTramo(tramoService.obtenerTramotPorOrigemDestinoVia(s.getOrigen(), s.getDestino(), s.getVia()));
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@ public class TramoRutaServiceImpl implements TramoRutaService {
|
||||||
rutaTramoRegresoVO.setClaseServicio(rutaTramoVO.getClaseServicio());
|
rutaTramoRegresoVO.setClaseServicio(rutaTramoVO.getClaseServicio());
|
||||||
rutaTramoRegresoVO.setOrgaoConcedente(rutaTramoVO.getOrgaoConcedente());
|
rutaTramoRegresoVO.setOrgaoConcedente(rutaTramoVO.getOrgaoConcedente());
|
||||||
rutaTramoRegresoVO.setSolicitaNombrePasajero(rutaTramoVO.getSolicitaNombrePasajero());
|
rutaTramoRegresoVO.setSolicitaNombrePasajero(rutaTramoVO.getSolicitaNombrePasajero());
|
||||||
rutaTramoRegresoVO.setVentaHandHeld(rutaTramoVO.getVentaHandHeld());
|
rutaTramoRegresoVO.setVentaHandHeld(rutaTramoVO.getVentaHandHeld() == null ? true : rutaTramoVO.getVentaHandHeld());
|
||||||
rutaTramoRegresoVO.setLsEmpresa(rutaTramoVO.getLsEmpresa());
|
rutaTramoRegresoVO.setLsEmpresa(rutaTramoVO.getLsEmpresa());
|
||||||
|
|
||||||
if (rutaTramoVO.getIndSentidoIda()) {
|
if (rutaTramoVO.getIndSentidoIda()) {
|
||||||
|
|
Loading…
Reference in New Issue