Fix DBCFX_SM_687: Anomalia delibera 82 viste GNPGO, eccezione scrittura notifiche nelle viste del portale GO uscite OF FTTH

This commit is contained in:
vincenzofariello
2024-09-02 16:38:29 +02:00
parent 3f6a5e5d2c
commit fb84701303
5 changed files with 12 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
ALTER TABLE "GNPGO"."GNPGO_GESTIONE_RICHIESTE_D82"
DROP CONSTRAINT "GNPGO_RICHIESTE_D82_STATO_FK";
ALTER TABLE "GNPGO"."GNPGO_GESTIONE_RICHIESTE_D82"
MODIFY "CODICE_MOTIVO_RIFIUTO" NUMBER(2,0);

View File

@@ -0,0 +1,2 @@
ALTER TABLE "GNPGO"."GNPGO_NOTIFICHE_DEL82"
MODIFY "CODICE_MOTIVO_RIFIUTO" NUMBER(2,0);

View File

@@ -1589,7 +1589,7 @@ public class DbcfxgoFormatController extends FormatController{
notifica.setTipoComunicazione("N9");
if (nowOut.getCodiceMotivazione() != null) {
notifica.setCodiceRifiuto(nowOut.getCodiceMotivazione().substring(1));
notifica.setCausaleRifiuto(nowOut.getCodiceMotivazione());
notifica.setCausaleRifiuto(nowOut.getMotivazione());
notifica.setStato(1L);
} else {
notifica.setStato(0L);

View File

@@ -82,8 +82,8 @@
<property name="dn10" type="string">
<column name="DN10" length="12" />
</property>
<property name="codiceRifiuto" type="string">
<column name="CODICE_MOTIVO_RIFIUTO" length="4" />
<property name="codiceRifiuto" type="java.lang.Long">
<column name="CODICE_MOTIVO_RIFIUTO" precision="22" scale="0" />
</property>
<property name="causaleRifiuto" type="string">
<column name="CAUSALE_RIFIUTO" />

View File

@@ -40,8 +40,8 @@
<property name="dac" type="date">
<column name="DAC" length="7" />
</property>
<property name="codiceRifiuto" type="string">
<column name="CODICE_MOTIVO_RIFIUTO" length="4" />
<property name="codiceRifiuto" type="java.lang.Long">
<column name="CODICE_MOTIVO_RIFIUTO" precision="22" scale="0" />
</property>
<property name="causaleRifiuto" type="string">
<column name="CAUSALE_RIFIUTO" />