Fixes Bug #0009640
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@73165 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
8e2449a981
commit
92b660239f
|
@ -229,7 +229,12 @@ public class RutaServiceImpl implements RutaService {
|
|||
}
|
||||
|
||||
Boolean isClone = entidad.getIsClone() != null ? entidad.getIsClone() : Boolean.FALSE;
|
||||
|
||||
if (entidad.getRutaId() == null) {
|
||||
entidad = rutaDAO.suscribir(entidad);
|
||||
} else {
|
||||
entidad = rutaDAO.actualizacion(entidad);
|
||||
}
|
||||
if (lsParadasSequencia != null) {
|
||||
if (!isClone) {
|
||||
generarSecuencias(entidad, lsParadasSequencia);
|
||||
|
|
Loading…
Reference in New Issue