marcus 2013-07-26 15:26:15 +00:00
parent 5c70e6bad8
commit e550986d50
2 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@
and pv.parada_id = pa.parada_id and pv.parada_id = pa.parada_id
and pa.ciudad_id = ci.ciudad_id and pa.ciudad_id = ci.ciudad_id
and ci.estado_id = es.estado_id and ci.estado_id = es.estado_id
and cj.feccorrida between $P{DATA_INICIO} and $P{DATA_FINAL} and cj.fechorventa between $P{DATA_INICIO} and $P{DATA_FINAL}
and ((to_char(cj.tipoventa_id) = $P{EMPRESA_ID}) 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>
<field name="NUMSERIEPREIMPRESA" class="java.lang.String"/> <field name="NUMSERIEPREIMPRESA" class="java.lang.String"/>