bug#14533 -- teste de performance III
dev: julio qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@94417 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
471c64bdec
commit
a026e0192c
|
@ -109,7 +109,8 @@ public class BpeHibernateDAO extends HibernateDaoSupport implements BpeDAO {
|
|||
sql.append(" coalesce(ei.indpedagioestdual,0) as indpedagioestdual ");
|
||||
sql.append("from boleto c ");
|
||||
sql.append(" join bpe bpe on c.boleto_id = bpe.boleto_id ");
|
||||
sql.append(" and bpe.activo = (case when c.motivocancelacion_id = 17 and c.boletooriginal_id is null then 0 else 1 end) ");
|
||||
// sql.append(" and bpe.activo = (case when c.motivocancelacion_id = 17 and c.boletooriginal_id is null then 0 else 1 end) ");
|
||||
sql.append(" and bpe.activo = 1 ");
|
||||
|
||||
// sql.append(" left join bpe bpe_cancel on bpe.chbpe = bpe_cancel.chbpe and bpe.codstat in ('135') and bpe_cancel.codstat in ('100','150') ");
|
||||
|
||||
|
|
Loading…
Reference in New Issue