salvataggio con rest del calendario
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-05-06 12:52:22 +02:00
parent de3784eb3a
commit 459f956763
2 changed files with 25 additions and 12 deletions

View File

@@ -0,0 +1,25 @@
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_20250506123139 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
createSetup("STB_CALT", "SETUP", "NUM_FASCE_ORARIE", "0",
"obbliga l'utente ad inserire un numero di fasce orarie", false, null, false, false,
false, false, false, null, false, null);
}
@Override
public void down() throws Exception {
}
}

View File

@@ -62,18 +62,6 @@ public class StbCalt extends EntityBase {
return this;
}
@Override
protected void updateChilds() throws Exception {
insertChilds();
}
@Override
protected void insertChilds() throws Exception {
for (StbCalrOreGg stbCalrOreGg : getStbCalrOreGg()) {
stbCalrOreGg.manageWithParentConnection(connection, stbCalrOreGg.getOperation(), dataCompleting, entityHolder);
}
}
@Override
protected void deleteChilds() throws Exception {
StbCalrOreGg oreGg = new StbCalrOreGg();