daniel.zauli 2016-09-29 21:33:53 +00:00
parent 60c232f973
commit 04f9c33135
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ public class SQLBuilderOracle implements SQLBuilder {
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(" ) ");
} }
sb.append(" and m.moneda_id = 1 "); sb.append(" and m.moneda_id = 1 ");
if (orgaoConcedenteId != null) { if (orgaoConcedenteId != null && orgaoConcedenteId != -1) {
sb.append(" and oc.orgaoconcedente_id = ").append(orgaoConcedenteId); sb.append(" and oc.orgaoconcedente_id = ").append(orgaoConcedenteId);
} }
sb.append(" and "); sb.append(" and ");