rinominato servizio
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package it.integry.ems.migration.model;
|
||||
|
||||
import it.integry.ems.migration._base.BaseMigration;
|
||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||
|
||||
public class Migration_20250903174910 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
executeStatement("alter table vtb_offt add condizioni_commerciali nvarchar(max)\n",
|
||||
"alter table vtb_offt add incoterms varchar(20)\n",
|
||||
"alter table vtb_offt add descrizione_paga varchar(1024)\n",
|
||||
"alter table vtb_offt add data_rif_scad datetime\n",
|
||||
"alter table vtb_offt add perc_prov numeric(5,2) default 0");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package it.integry.ems.migration.model;
|
||||
|
||||
import it.integry.ems.migration._base.BaseMigration;
|
||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||
|
||||
public class Migration_20250903182440 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
executeStatement("alter table vtb_offt add note_incoterms varchar(40)\n",
|
||||
"alter table vtb_offt add note_carico varchar(255)\n",
|
||||
"alter table vtb_offt add term_cons varchar(1024)",
|
||||
"alter table gtb_anag_note add note_carico bit not null default 0");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
}
|
||||
}
|
||||
@@ -770,11 +770,11 @@ public class PvmController {
|
||||
|
||||
@RequestMapping(value = "popolaGiancezaDaInventario", method = RequestMethod.POST)
|
||||
public @ResponseBody
|
||||
ServiceRestResponse popolaGiancezaDaInventario(@RequestParam(CommonConstants.PROFILE_DB) String profileDB,
|
||||
ServiceRestResponse popolaGiacenzaDaInventario(@RequestParam(CommonConstants.PROFILE_DB) String profileDB,
|
||||
@RequestParam(required = false) String codMdep) throws Exception {
|
||||
|
||||
try {
|
||||
giacenzaService.popolaGiancezaDaInventario(codMdep);
|
||||
giacenzaService.popolaGiacenzaDaInventario(codMdep);
|
||||
return ServiceRestResponse.createPositiveResponse();
|
||||
} catch (Exception e) {
|
||||
return ServiceRestResponse.createNegativeResponse(e);
|
||||
|
||||
@@ -55,7 +55,7 @@ public class GiacenzaService {
|
||||
private final String gestName = "DATI_AZIENDA";
|
||||
private final String section = "GIACENZA_DA_INV";
|
||||
|
||||
public void popolaGiancezaDaInventario(String codMdepParm) throws Exception {
|
||||
public void popolaGiacenzaDaInventario(String codMdepParm) throws Exception {
|
||||
Date startDate = new Date();
|
||||
String emailDest = setupGest.getSetup(gestName, section, "EMAIL_FOR_LOG");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user