fixes bug#AL-2224

master
aristides@rjconsultores.com.br 2023-02-27 13:01:09 -03:00
parent f016c17b83
commit 517485ef71
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ModelWeb</artifactId>
<version>1.0.35</version>
<version>1.0.36</version>
<distributionManagement>
<repository>
<id>rj-releases</id>

View File

@ -404,6 +404,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 m.moneda_id = 1 ");
sb.append(" and ma.activo = 1 ");
if (orgaoConcedente != null && orgaoConcedente.getOrgaoConcedenteId() != null && orgaoConcedente.getOrgaoConcedenteId() != SELECAO_TODOS) {
sb.append(" and oc.orgaoconcedente_id = ").append(orgaoConcedente.getOrgaoConcedenteId());
}