Skip to content

Commit

Permalink
Corretto bug autocensimento tipi pendenza.
Browse files Browse the repository at this point in the history
  • Loading branch information
pintorig committed Nov 11, 2019
1 parent ec8a65e commit af3ceee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions jars/core/src/main/java/it/govpay/core/utils/VersamentoUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,11 @@ public static Versamento toVersamentoModel(it.govpay.core.dao.commons.Versamento
// censimento del tipo pendenza
TipiVersamentoBD tipiVersamentoBD = new TipiVersamentoBD(bd);
tipoVersamento = tipiVersamentoBD.autoCensimentoTipoVersamento(codTipoVersamento);
try {
AnagraficaManager.cleanCache();
} catch (UtilsException e1) {
throw new ServiceException(e1);
}
}
}

Expand All @@ -585,6 +590,11 @@ public static Versamento toVersamentoModel(it.govpay.core.dao.commons.Versamento
} else {
TipiVersamentoDominiBD tipiVersamentoDominiBD = new TipiVersamentoDominiBD(bd);
tipoVersamentoDominio = tipiVersamentoDominiBD.autoCensimentoTipoVersamentoDominio(tipoVersamento, dominio);
try {
AnagraficaManager.cleanCache();
} catch (UtilsException e1) {
throw new ServiceException(e1);
}
}
// try {
// tipoVersamentoDominio = AnagraficaManager.getTipoVersamentoDominio(bd, dominio.getId(), GovpayConfig.getInstance().getCodTipoVersamentoPendenzeNonCensite());
Expand Down

0 comments on commit af3ceee

Please sign in to comment.