diff --git a/gnpapp/script/del82/alterTableGnpgoGestioneRichiesteD82.sql b/gnpapp/script/del82/alterTableGnpgoGestioneRichiesteD82.sql new file mode 100644 index 00000000..cea56e98 --- /dev/null +++ b/gnpapp/script/del82/alterTableGnpgoGestioneRichiesteD82.sql @@ -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); \ No newline at end of file diff --git a/gnpapp/script/del82/alterTableGnpgoNotificheDel82.sql b/gnpapp/script/del82/alterTableGnpgoNotificheDel82.sql new file mode 100644 index 00000000..eea811ed --- /dev/null +++ b/gnpapp/script/del82/alterTableGnpgoNotificheDel82.sql @@ -0,0 +1,2 @@ +ALTER TABLE "GNPGO"."GNPGO_NOTIFICHE_DEL82" +MODIFY "CODICE_MOTIVO_RIFIUTO" NUMBER(2,0); \ No newline at end of file diff --git a/gnpdev/dbcfx/src/it/valueteam/gnp/systemcontroller/formatcontroller/dbcfxgo/DbcfxgoFormatController.java b/gnpdev/dbcfx/src/it/valueteam/gnp/systemcontroller/formatcontroller/dbcfxgo/DbcfxgoFormatController.java index 526a42a1..2e5da017 100644 --- a/gnpdev/dbcfx/src/it/valueteam/gnp/systemcontroller/formatcontroller/dbcfxgo/DbcfxgoFormatController.java +++ b/gnpdev/dbcfx/src/it/valueteam/gnp/systemcontroller/formatcontroller/dbcfxgo/DbcfxgoFormatController.java @@ -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); diff --git a/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneNotificheD82.hbm.xml b/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneNotificheD82.hbm.xml index 96ce9bd2..57946d80 100644 --- a/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneNotificheD82.hbm.xml +++ b/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneNotificheD82.hbm.xml @@ -82,8 +82,8 @@ - - + + diff --git a/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneRichiesteD82.hbm.xml b/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneRichiesteD82.hbm.xml index dbfa83c7..104e317d 100644 --- a/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneRichiesteD82.hbm.xml +++ b/gnpdev/dbcfxgo/src/it/valueteam/gnpgo/core/dao/db/hb/GnpgoGestioneRichiesteD82.hbm.xml @@ -40,8 +40,8 @@ - - + +