marcus 2013-08-01 14:00:03 +00:00
parent 001c9a02f4
commit dc416fac25
2 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
and ci.estado_id = es.estado_id and ci.estado_id = es.estado_id
and nvl(cj.empresacorrida_id, ma.empresa_id) = $P{EMPRESA_ID} and nvl(cj.empresacorrida_id, ma.empresa_id) = $P{EMPRESA_ID}
and INSTR($P{LS_CATEGORIA}, '_' || cj.categoria_id || '_') > 0 and INSTR($P{LS_CATEGORIA}, '_' || cj.categoria_id || '_') > 0
and trunc(cj.fechorventa, 'DAY') between trunc($P{DATA_INICIO}, 'DAY') and trunc($P{DATA_FINAL}, 'DAY') and trunc(cj.fechorventa) between trunc($P{DATA_INICIO}) and trunc($P{DATA_FINAL})
and ((cj.feccorrida is null) or ($P{PASSAGEM_ABERTA} = 'T')) and ((cj.feccorrida is null) or ($P{PASSAGEM_ABERTA} = 'T'))
order by em.nombempresa, es.cveestado, cj.fechorventa]]> order by em.nombempresa, es.cveestado, cj.fechorventa]]>
</queryString> </queryString>