Finish Hotfix-100
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-09-29 10:46:53 +02:00
3 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package it.integry.ems.migration.model;
import it.integry.ems.migration._base.BaseMigration;
import it.integry.ems.migration._base.MigrationModelInterface;
public class Migration_20250929103228 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
executeStatement("alter table jtb_rlavt add note_agg varchar(max)");
}
@Override
public void down() throws Exception {
}
}

View File

@@ -0,0 +1,28 @@
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_20250929103932 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
createSetup("w_jriep_presenze_dip_disp", "CB_AGGNOTE", "VISIBLE", "N",
null, false, null, false, false,
false, false, false, null, false, null);
if (isCustomer(IntegryCustomer.Integry)) {
updateSetupValue("w_jriep_presenze_dip_disp", "CB_AGGNOTE", "VISIBLE", "S");
}
}
@Override
public void down() throws Exception {
}
}

View File

@@ -84,6 +84,9 @@ public class JtbRLavt extends EntityBase {
@SqlField(value = "data_controllo")
private Date dataControllo;
@SqlField(value = "note_agg")
private String noteAgg;
@EntityChild
private List<JtbRLavr> jtbRlavr = new ArrayList<>();
@@ -265,6 +268,15 @@ public class JtbRLavt extends EntityBase {
return this;
}
public String getNoteAgg() {
return noteAgg;
}
public JtbRLavt setNoteAgg(String noteAgg) {
this.noteAgg = noteAgg;
return this;
}
public List<JtbRLavr> getJtbRlavr() {
return jtbRlavr;
}