valdevir 2017-02-02 20:18:49 +00:00
parent f4d6496b14
commit 4b810fb622
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ public class RelatorioDemandasDetalhado extends RelatorioDemandas {
sql.append(" WHERE ");
sql.append(" bol.FECHORVIAJE >= :DATA_INICIAL ");
sql.append(" AND bol.FECHORVIAJE <= :DATA_FINAL ");
sql.append(" AND BOL.MOTIVOCANCELACION_ID IS NULL ");
if (parametros.get("RUTA_ID") != null) {
sql.append(" AND r.RUTA_ID = :RUTA_ID ");
}