bug#11600
dev: julio qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@85018 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0b0673c5bc
commit
deadd223c6
|
@ -103,6 +103,7 @@ public class BpeHibernateDAO extends HibernateDaoSupport implements BpeDAO {
|
|||
sql.append(" and bpe.tipoamb = 1 and ep.activo = 1 ");
|
||||
// sql.append(" and bpe.errocontingencia is null ");
|
||||
// sql.append(" and bpe.codstat <> 150 "); // não deve ser enviados os registros de contigencia
|
||||
sql.append(" and bpe.chbpe is not null ");
|
||||
sql.append(" and (tipoevento <> 110115 or 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')");
|
||||
|
|
Loading…
Reference in New Issue