Merge branch 'hotfix/Hotfix-1' into develop
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,29 @@
|
||||
package it.integry.ems.migration.model;
|
||||
|
||||
import it.integry.ems.migration._base.BaseMigration;
|
||||
import it.integry.ems.migration._base.IntegryCustomer;
|
||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||
|
||||
public class Migration_20250416105511 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
executeStatement("UPDATE stb_gest_setup SET tipo_setup = 'mtb_sgrp' where gest_name = 'PVM' and section = 'PIAN_ACC_ROSSG' and key_section = 'REPORT_NAME_SCHEDA_SCAR';");
|
||||
|
||||
if (isCustomer(IntegryCustomer.RossoGargano)) {
|
||||
updateSetupValue("PVM", "PIAN_ACC_ROSSG", "REPORT_NAME_SCHEDA_SCAR",null);
|
||||
executeStatement(
|
||||
"INSERT INTO stb_gest_setup_det (gest_name, section, key_section, tipo_setup, val_col_rif, value) VALUES (N'PVM', N'PIAN_ACC_ROSSG', N'REPORT_NAME_SCHEDA_SCAR', N'mtb_sgrp', N'MG~02', N'ReportCQCarciofi');",
|
||||
"INSERT INTO stb_gest_setup_det (gest_name, section, key_section, tipo_setup, val_col_rif, value) VALUES (N'PVM', N'PIAN_ACC_ROSSG', N'REPORT_NAME_SCHEDA_SCAR', N'mtb_sgrp', N'MG~01', N'SchedaGestioneScaricoProdotto');"
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user