From 9142ed451e4089eb544a4fc576b4181056250a33 Mon Sep 17 00:00:00 2001 From: gleimar Date: Thu, 20 Aug 2015 12:46:03 +0000 Subject: [PATCH] =?UTF-8?q?Tirar=20restri=C3=A7=C3=A3o=20de=20gera=C3=A7?= =?UTF-8?q?=C3=A3o=20de=20servi=C3=A7os=20para=20o=20dia=20anterior=20fixe?= =?UTF-8?q?s=20bug#6566?= 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@46930 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/service/impl/CorridaServiceImpl.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/com/rjconsultores/ventaboletos/service/impl/CorridaServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/CorridaServiceImpl.java index c1d19f713..68e955ebf 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/CorridaServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/CorridaServiceImpl.java @@ -1127,10 +1127,6 @@ public class CorridaServiceImpl implements CorridaService { @Transactional(readOnly = true, propagation = Propagation.SUPPORTS,rollbackFor=BusinessException.class) public Long generarCorridasSelecionadas(List lsEsquemaCorrida, Date dataDe, Date dataAte) throws BusinessException { - if ( (DateUtil.compareOnlyDate(dataDe) < 0) || (DateUtil.compareOnlyDate(dataAte) < 0)){ - throw new BusinessException("corridaServiceImpl.geracaoCorrida.dataMenorQueAtual"); - } - int cantDiasGeneracion = DateUtil.getElapsedDias(dataDe, dataAte); int cantDiasMaxGerarCorridasManual = cantDiasMaxGerarCorridasManual();