Finish SetupCodVmzo
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,33 @@
|
||||
package it.integry.ems.migration.model;
|
||||
|
||||
import it.integry.ems.migration._base.BaseMigration;
|
||||
import it.integry.ems.migration._base.IntegryCustomerDB;
|
||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||
|
||||
public class Migration_20250715102836 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
String value = null;
|
||||
|
||||
if (isCustomerDb(IntegryCustomerDB.RossoGargano_RossoGargano)) {
|
||||
value = "ZRACC";
|
||||
}
|
||||
|
||||
createSetupQuery("COD_VMZO", null, "SELECT cod_vmzo + '|' + descrizione\n" +
|
||||
"FROM vtb_mzon");
|
||||
createSetup("PVM", "PREVISIONI_RACCOLTA", "COD_VMZO", value,
|
||||
"Tipi di macro zona selezionabili in fase di inserimento/modifica destinatario", false, null, false, false,
|
||||
false, false, false, null, true, "SELECT cod_vmzo + '|' + descrizione\n" +
|
||||
"FROM vtb_mzon");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user