leonardo 2015-09-01 20:11:08 +00:00
parent 18a2aa64ab
commit 7ccc398e7e
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class TramoRutaServiceImpl implements TramoRutaService {
}
if ((s.getOrigen() == null) || (s.getDestino() == null) || (s.getVia() == null)
|| (s.getKmReal() == null) || (s.getSecuencia() == null) || (s.getTiempoRecorrido() == null)
|| (s.getCoeficienteTarifa1() == null) || (s.getKmCoeficiente1() == null) || (s.getKmCoeficiente1() == BigDecimal.ZERO)) {
|| (!rutaTramoVO.getOrgaoConcedente().getOrgaoConcedenteId().equals(21) && ((s.getCoeficienteTarifa1() == null) || (s.getKmCoeficiente1() == null) || (s.getKmCoeficiente1() == BigDecimal.ZERO)))) {
throw new BusinessException("tramoRutaServiceImpl.msg.cambosObligatoriosCombinacion", new Object[] { s.getOrigen(), s.getDestino() });
}