Aggiunta setup per controllo ordini multipli su mes
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
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_20240513110702 extends BaseMigration implements MigrationModelInterface {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void up() throws Exception {
|
||||||
|
if (isHistoryDB())
|
||||||
|
return;
|
||||||
|
|
||||||
|
String value = "N";
|
||||||
|
if (isCustomer(IntegryCustomer.RossoGargano))
|
||||||
|
value = "S";
|
||||||
|
|
||||||
|
createSetup("PVM","MONITORAGGIO_LINEE_V2","ALLOW_MULTIPLE_ORDERS_OPEN",value,"Se impostato a S permette di avviare più ordini contemporaneamente sulla linea","SI_NO");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void down() throws Exception {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user