Tirar restrição de geração de serviços para o dia anterior fixes bug#6566
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@46930 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
2adaa14c47
commit
9142ed451e
|
@ -1127,10 +1127,6 @@ public class CorridaServiceImpl implements CorridaService {
|
|||
@Transactional(readOnly = true, propagation = Propagation.SUPPORTS,rollbackFor=BusinessException.class)
|
||||
public Long generarCorridasSelecionadas(List<EsquemaCorrida> 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();
|
||||
|
|
Loading…
Reference in New Issue