Merge branch 'develop' into feature/JDK11
Some checks failed
IntegryManagementSystem_Multi/pipeline/head There was a failure building this commit

This commit is contained in:
jenkins
2025-06-17 10:40:01 +02:00
2 changed files with 31 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_20250617102219 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
executeStatement("ALTER TABLE vtb_dest ADD stampa_doc_cons BIT NOT NULL DEFAULT 0");
}
@Override
public void down() throws Exception {
}
}

View File

@@ -222,6 +222,9 @@ public class VtbDest extends EntityBase implements EquatableEntityInterface<VtbD
@SqlField(value = "cod_fisc_legale", maxLength = 16)
private String codFiscLegale;
@SqlField(value = "stampa_doc_cons", nullable = false, defaultObjectValue = "0")
private Boolean stampaDocCons;
private String precode;
@EntityChild
@@ -816,6 +819,15 @@ public class VtbDest extends EntityBase implements EquatableEntityInterface<VtbD
return this;
}
public Boolean getStampaDocCons() {
return stampaDocCons;
}
public VtbDest setStampaDocCons(Boolean stampaDocCons) {
this.stampaDocCons = stampaDocCons;
return this;
}
@Override
protected void insertChilds() throws Exception {
for (VtbDestIntercode vtbDestIntercode : getVtbDestIntercode()) {