fixes bug #8044
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@60940 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
60c232f973
commit
04f9c33135
|
@ -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 ");
|
||||||
|
|
Loading…
Reference in New Issue