From 55cdcb1d89022e740b0945957880281c1ac8b92a Mon Sep 17 00:00:00 2001 From: vincenzofariello Date: Tue, 5 Nov 2024 12:14:12 +0100 Subject: [PATCH] DBCFX_SM_695 - Anomalia viste del. 82 - errata/assente visualizzazione uscite OF --- .../core/dao/db/hb/GnpgoGestioneNotificheD82DAO.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneNotificheD82DAO.java b/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneNotificheD82DAO.java index 5bed3627..0d426416 100644 --- a/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneNotificheD82DAO.java +++ b/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneNotificheD82DAO.java @@ -133,7 +133,14 @@ public class GnpgoGestioneNotificheD82DAO extends BaseHibernateDAO { criterion.add(Restrictions.eq("idRichiesta", notifica.getIdRichiesta())); criterion.add(Restrictions.eq("tipoComunicazione", notifica.getTipoComunicazione())); - log.debug("find criteria: idRichiesta = " + notifica.getIdRichiesta() + " - tipoComunicazione: " + notifica.getTipoComunicazione()); + if(notifica.getTipoEventoFase3() != null){ + criterion.add(Restrictions.eq("tipoEventoFase3", notifica.getTipoEventoFase3())); + log.debug("find criteria: idRichiesta = " + notifica.getIdRichiesta() + " - tipoComunicazione: " + notifica.getTipoComunicazione() + + " - tipoEventoFase3: " + notifica.getTipoEventoFase3()); + } + else + log.debug("find criteria: idRichiesta = " + notifica.getIdRichiesta() + " - tipoComunicazione: " + notifica.getTipoComunicazione()); + List listGnpgoGestioneNotificheD82 = findByCriteria(criterion); if (listGnpgoGestioneNotificheD82 != null && listGnpgoGestioneNotificheD82.size() > 0) {