DBCFX_RIL_1050 - Ril. DBCFX_SM_702 - Del. 82 TIM Donating - Invio scarto errato
This commit is contained in:
@@ -260,7 +260,7 @@ public class RequestManagerDonor82 {
|
|||||||
GnpAnagCowTelecom anagCowTelecom = anagCowDAO.findById(richiesta.getCowDonating());
|
GnpAnagCowTelecom anagCowTelecom = anagCowDAO.findById(richiesta.getCowDonating());
|
||||||
|
|
||||||
//C09 2019 WA RICHIESTO ESCLUSIVAMENTE PER LA VERIFICA CS
|
//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());
|
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();
|
cowLineaDao = new GnpAnagCowLineaTelecomDAO();
|
||||||
anagCowLineaTelecom = cowLineaDao.findByDnAndCowOld(richiesta.getDn(), richiesta.getCowDonating());
|
anagCowLineaTelecom = cowLineaDao.findByDnAndCowOld(richiesta.getDn(), richiesta.getCowDonating());
|
||||||
@@ -278,7 +278,8 @@ public class RequestManagerDonor82 {
|
|||||||
// Se non trovo il cow nell'anagrafica:
|
// Se non trovo il cow nell'anagrafica:
|
||||||
// 1)Aggiorno la tabella GNP_RICHIESTE_DONOR con cod_validazione = 1
|
// 1)Aggiorno la tabella GNP_RICHIESTE_DONOR con cod_validazione = 1
|
||||||
// 2)Inserisco un record nella tabella GNP_OLO_RICHIESTE_DONOR_OUT
|
// 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);
|
richiesta.setCodValidazione(1L);
|
||||||
String sessionId = Func.findNextD82SessionId();
|
String sessionId = Func.findNextD82SessionId();
|
||||||
String dateSessionId = createSessionID82(sessionId);
|
String dateSessionId = createSessionID82(sessionId);
|
||||||
|
|||||||
@@ -766,7 +766,8 @@ public class OLOControllerDonor extends AbstractOLOController implements Loggab
|
|||||||
&& anagOloDAO.findById(richiesta.getCodiceOperatoreRecipient())!=null
|
&& anagOloDAO.findById(richiesta.getCodiceOperatoreRecipient())!=null
|
||||||
&& !Func.isNull(richiesta.getCodiceOperatoreDonating())
|
&& !Func.isNull(richiesta.getCodiceOperatoreDonating())
|
||||||
&& !Func.isNull(richiesta.getCor())
|
&& !Func.isNull(richiesta.getCor())
|
||||||
&& !Func.isNull(richiesta.getDn1())
|
// DBCFX_SM_702 gestione assenza DN1
|
||||||
|
//&& !Func.isNull(richiesta.getDn1())
|
||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user