daniel.zauli 2016-06-23 15:08:39 +00:00
parent db8e31f577
commit a51350d611
1 changed files with 1 additions and 0 deletions

View File

@ -333,6 +333,7 @@ public class SQLBuilderOracle implements SQLBuilder {
sb.append(" and mc.activo = 1 ");
sb.append(" and re.activo = 1 ");
sb.append(" and r.orgaoconcedente_id <> 21 ");
sb.append(" and rc.indventa = 1 ");
if (idsEmpresas != null) {
sb.append(" and re.empresa_id in ( ").append(idsEmpresas.toString().substring(1, idsEmpresas.toString().length()-1)).append(" ) ");
}