diff --git a/src/com/rjconsultores/ventaboletos/service/impl/TramoRutaServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/TramoRutaServiceImpl.java index ec5a89f23..9864839f3 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/TramoRutaServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/TramoRutaServiceImpl.java @@ -160,7 +160,7 @@ public class TramoRutaServiceImpl implements TramoRutaService { for (SecuenciaRutaTramoCoeficienteVO s : rutaTramoVO.getLsCombinacionRutaTramoVO()) { RutaCombinacion rutaCombinacion = new RutaCombinacion(); - rutaCombinacion.setIndventa(s.getPermiteVenda()); + rutaCombinacion.setIndventa(s.getPermiteVenda() == null ? true : s.getPermiteVenda()); rutaCombinacion.setRuta(ruta); rutaCombinacion.setTramo(tramoService.obtenerTramotPorOrigemDestinoVia(s.getOrigen(), s.getDestino(), s.getVia())); @@ -187,7 +187,7 @@ public class TramoRutaServiceImpl implements TramoRutaService { rutaTramoRegresoVO.setClaseServicio(rutaTramoVO.getClaseServicio()); rutaTramoRegresoVO.setOrgaoConcedente(rutaTramoVO.getOrgaoConcedente()); rutaTramoRegresoVO.setSolicitaNombrePasajero(rutaTramoVO.getSolicitaNombrePasajero()); - rutaTramoRegresoVO.setVentaHandHeld(rutaTramoVO.getVentaHandHeld()); + rutaTramoRegresoVO.setVentaHandHeld(rutaTramoVO.getVentaHandHeld() == null ? true : rutaTramoVO.getVentaHandHeld()); rutaTramoRegresoVO.setLsEmpresa(rutaTramoVO.getLsEmpresa()); if (rutaTramoVO.getIndSentidoIda()) {