fixes bug #AL-2936
parent
1725155a08
commit
a4a7657d91
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.7.1</version>
|
||||
<version>1.7.2</version>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>rj-releases</id>
|
||||
|
|
|
@ -1112,7 +1112,9 @@ public class CorridaServiceImpl implements CorridaService {
|
|||
BigDecimal valorPedagio = tarifa!=null ? tarifa.getImportepedagio() : null ;
|
||||
Long tempoReserva = null;
|
||||
Cliente cliente = clienteService.obtenerID(reservaEspecialCliente.getClienteId().intValue());
|
||||
System.out.println(cliente.getClienteId());
|
||||
if(cliente ==null || !Boolean.TRUE.equals(cliente.getActivo())) {
|
||||
continue;
|
||||
}
|
||||
String clienteFidelidadId = null;
|
||||
try {
|
||||
clienteFidelidadId = cliente.getListClienteFidelidad().get(0).getClienteFidelidadId().toString();
|
||||
|
@ -1130,7 +1132,7 @@ public class CorridaServiceImpl implements CorridaService {
|
|||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.error("Erro ao validar/criar reserva especial de clientes", e);
|
||||
log.error("Erro ao validar/criar reserva especial de clientes para corridaId: " + corrida.getId().getCorridaId() , e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue