fixes bug #AL-3255
parent
1d18e216b5
commit
355a229750
2
pom.xml
2
pom.xml
|
@ -3,7 +3,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ModelWeb</artifactId>
|
||||
<version>1.16.0</version>
|
||||
<version>1.16.1</version>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
|
|
@ -1180,6 +1180,10 @@ public class CorridaServiceImpl implements CorridaService {
|
|||
BigDecimal valorTaxaEmbarque= tarifa!=null ? tarifa.getImportetaxaembarque() : null ;
|
||||
BigDecimal valorPedagio = tarifa!=null ? tarifa.getImportepedagio() : null ;
|
||||
Long tempoReserva = null;
|
||||
if(reservaEspecialCliente.getClienteId() ==null) {
|
||||
log.error("Cliente id não foi cadastrado (null) para reservaId=" + reservaEspecialCliente.getReservaEspecialClienteId() + " da corrida_id =" + reservaEspecialCliente.getCorridaId() );
|
||||
continue;
|
||||
}
|
||||
Cliente cliente = clienteService.obtenerID(reservaEspecialCliente.getClienteId().intValue());
|
||||
if(cliente ==null || !Boolean.TRUE.equals(cliente.getActivo())) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue