bug#12811
dev:julio qua:julio git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@88019 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a2363d04ec
commit
259856d7df
|
@ -101,7 +101,7 @@ public class BpeHibernateDAO extends HibernateDaoSupport implements BpeDAO {
|
|||
sql.append("where c.activo = 1 and e.activo = 1 and ei.activo = 1 ");
|
||||
sql.append(" and bpe.tipoamb = 1 and ep.activo = 1 ");
|
||||
sql.append(" and bpe.codstat in (100,135,150) ");
|
||||
sql.append(" and (tipoevento <> 110115 or tipoevento is null) ");
|
||||
sql.append(" and (bpe.tipoevento <> 110115 or bpe.tipoevento is null) ");
|
||||
sql.append(" and (case when ei.indtribviagem = 1 then c.fechorviaje else c.feccreacion end) >= to_date(?,'DD/MM/YYYY HH24:MI:SS') ");
|
||||
sql.append(" and (case when ei.indtribviagem = 1 then c.fechorviaje else c.feccreacion end) <= to_date(?,'DD/MM/YYYY HH24:MI:SS')");
|
||||
sql.append(" and ep.empresa_id = ? ");
|
||||
|
|
Loading…
Reference in New Issue