Skip to content

Commit

Permalink
FIX: Corrigindo referência a modelos anteriores que não estava
Browse files Browse the repository at this point in the history
considerando o desentranhamento
  • Loading branch information
crivano committed Mar 23, 2023
1 parent 0928835 commit ddf2cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion siga-ex/src/main/java/br/gov/jfrj/siga/ex/ExRef.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public ExRef modelo(String... mod) {
mod[i] = Texto.slugify(mod[i], true, true);
List<ExArquivoNumerado> res = new ArrayList<>();
for (ExArquivoNumerado an : getAns()) {
if (an.getMobil() != null) {
if (an.getMobil() != null && an.getMobil().isJuntadoInterno() && !an.getMobil().doc().isCancelado() && !an.getMobil().doc().isSemEfeito()) {
String descMod = Texto.slugify(an.getMobil().doc().getExModelo().getNmMod(), true, true);
for (int i = 0; i < mod.length; i++)
if (descMod.contains(mod[i]))
Expand Down

0 comments on commit ddf2cf8

Please sign in to comment.