From 13defe484855b568290f170b87cb26bfc6cda8ab Mon Sep 17 00:00:00 2001 From: frederico Date: Fri, 24 Jun 2016 13:08:11 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#7620=20-=20Linha:=20corre=C3=A7?= =?UTF-8?q?=C3=A3o=20exclus=C3=A3o=20sequ=C3=AAncia?= 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/Model/trunk/modelWeb@57257 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/service/impl/RutaServiceImpl.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/com/rjconsultores/ventaboletos/service/impl/RutaServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/RutaServiceImpl.java index e3e14cf5d..34b56066f 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/RutaServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/RutaServiceImpl.java @@ -205,6 +205,10 @@ public class RutaServiceImpl implements RutaService { StringBuilder sb = new StringBuilder(); Boolean gerou = true; + if (ruta.getRutaId() != null) { + ruta.setRutaCombinacionList(rutaCombinacionService.obtenerPorRuta(ruta)); + } + for (int i = 0; i < lsRutaSecuencia.size(); i++) { Tramo tramoSecuencia1 = lsRutaSecuencia.get(i).getTramo(); Parada origem = tramoSecuencia1.getOrigem(); @@ -245,6 +249,8 @@ public class RutaServiceImpl implements RutaService { log.debug("Tramo:" + trBuscaOrigemDestino.getDesctramo()); + + RutaCombinacion rc = new RutaCombinacion(); rc.setActivo(Boolean.TRUE); rc.setFecmodif(Calendar.getInstance().getTime());