fixes bug #7576
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@57217 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
db8e31f577
commit
a51350d611
|
@ -333,6 +333,7 @@ public class SQLBuilderOracle implements SQLBuilder {
|
||||||
sb.append(" and mc.activo = 1 ");
|
sb.append(" and mc.activo = 1 ");
|
||||||
sb.append(" and re.activo = 1 ");
|
sb.append(" and re.activo = 1 ");
|
||||||
sb.append(" and r.orgaoconcedente_id <> 21 ");
|
sb.append(" and r.orgaoconcedente_id <> 21 ");
|
||||||
|
sb.append(" and rc.indventa = 1 ");
|
||||||
if (idsEmpresas != null) {
|
if (idsEmpresas != null) {
|
||||||
sb.append(" and re.empresa_id in ( ").append(idsEmpresas.toString().substring(1, idsEmpresas.toString().length()-1)).append(" ) ");
|
sb.append(" and re.empresa_id in ( ").append(idsEmpresas.toString().substring(1, idsEmpresas.toString().length()-1)).append(" ) ");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue