DBCFX_RIL_1050 - Ril. DBCFX_SM_702 - Del. 82 TIM Donating - Invio scarto errato

This commit is contained in:
manuelstefanile
2025-06-17 17:50:18 +02:00
parent b603345e14
commit 25e49616ee
2 changed files with 5 additions and 3 deletions

View File

@@ -260,7 +260,7 @@ public class RequestManagerDonor82 {
GnpAnagCowTelecom anagCowTelecom = anagCowDAO.findById(richiesta.getCowDonating());
//C09 2019 WA RICHIESTO ESCLUSIVAMENTE PER LA VERIFICA CS
if (Resources.getFLAG_CHECK_ANAG_COW_LINEA()) {
if (Resources.getFLAG_CHECK_ANAG_COW_LINEA() && richiesta.getDn()!=null) {
log.write("9999", "CONTROLLO SU TABELLA GNP_ANAG_COW_LINEA_TELECOM(FLAG WA ABILITATO) : " + richiesta.getIdRichiesta() + " COW: " + richiesta.getCowDonating() + " DN:" + richiesta.getDn());
cowLineaDao = new GnpAnagCowLineaTelecomDAO();
anagCowLineaTelecom = cowLineaDao.findByDnAndCowOld(richiesta.getDn(), richiesta.getCowDonating());
@@ -278,7 +278,8 @@ public class RequestManagerDonor82 {
// Se non trovo il cow nell'anagrafica:
// 1)Aggiorno la tabella GNP_RICHIESTE_DONOR con cod_validazione = 1
// 2)Inserisco un record nella tabella GNP_OLO_RICHIESTE_DONOR_OUT
if (anagCowTelecom == null) {
//C06 2025 DBCFX_SM_702 devo gestire un mancato invio del DN dall'OLO con cod.session X
if (anagCowTelecom == null || richiesta.getDn() == null) {
richiesta.setCodValidazione(1L);
String sessionId = Func.findNextD82SessionId();
String dateSessionId = createSessionID82(sessionId);

View File

@@ -766,7 +766,8 @@ public class OLOControllerDonor extends AbstractOLOController implements Loggab
&& anagOloDAO.findById(richiesta.getCodiceOperatoreRecipient())!=null
&& !Func.isNull(richiesta.getCodiceOperatoreDonating())
&& !Func.isNull(richiesta.getCor())
&& !Func.isNull(richiesta.getDn1())
// DBCFX_SM_702 gestione assenza DN1
//&& !Func.isNull(richiesta.getDn1())
) {
return true;
} else {