Merge remote-tracking branch 'origin/develop' into develop
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-05-23 09:35:00 +02:00
10 changed files with 23610 additions and 6 deletions

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "ts"]
path = ts
url = ../IntegryManagementSystemTSModules.git

View File

@@ -1,6 +1,7 @@
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_20250519094505 extends BaseMigration implements MigrationModelInterface {
@@ -10,6 +11,9 @@ public class Migration_20250519094505 extends BaseMigration implements Migration
if (isHistoryDB())
return;
if (isCustomerDb(IntegryCustomerDB.Siciliani_DMS))
return;
executeStatement("ALTER TABLE vtb_vett ADD archiviazione_elettronica BIT NOT NULL DEFAULT 0");
}

View File

@@ -10,6 +10,8 @@ public class Migration_20250519153809 extends BaseMigration implements Migration
if (isHistoryDB())
return;
if (isDMS()) return;
createOrUpdateFunction(
"MES_GetWorkOrders",
"CREATE FUNCTION [dbo].[MES_GetWorkOrders](@codJfas VARCHAR(50), @dateStart DATE, @dateEnd DATE, @flagEvaso VARCHAR(1),\n" +

View File

@@ -10,6 +10,7 @@ public class Migration_20250520102717 extends BaseMigration implements Migration
if (isHistoryDB())
return;
if (isDMS()) return;
createOrUpdateFunction("getCmovrAcconti", "CREATE FUNCTION [dbo].[getCmovrAcconti] (@codAnag varchar(5))\n" +
"RETURNS Table\n" +

View File

@@ -11,8 +11,7 @@ public class Migration_20250521120728 extends BaseMigration implements Migration
if (isHistoryDB())
return;
if (isCustomerDb(IntegryCustomerDB.Siciliani_DMS))
return;
if (isDMS()) return;
createOrUpdateFunction("getSituazionePlafondIVA", "CREATE FUNCTION [dbo].[getSituazionePlafondIVA] (@codAnag varchar(5), @tipoAnag VARCHAR(1), @gestione varchar(1), @anno integer)\n" +
"RETURNS TABLE as\n" +

View File

@@ -0,0 +1,29 @@
package it.integry.ems.migration.model;
import it.integry.ems.migration._base.BaseMigration;
import it.integry.ems.migration._base.MigrationModelInterface;
public class Migration_20250522103244 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
createSetup("DATI_AZIENDA", "ARCHIVIA_DOCUMENTI", "PATH_SCAN_USER_A", null,
"Path lettura file da allegare per utente in gestione acquisti", false, null, false, false,
true, false, false, null, false, null);
createSetup("DATI_AZIENDA", "ARCHIVIA_DOCUMENTI", "PATH_SCAN_USER_L", null,
"Path lettura file da allegare per utente in gestione lavorazione", false, null, false, false,
true, false, false, null, false, null);
createSetup("DATI_AZIENDA", "ARCHIVIA_DOCUMENTI", "PATH_SCAN_USER_V", null,
"Path lettura file da allegare per utente in gestione vendite", false, null, false, false,
true, false, false, null, false, null);
}
@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.IntegryCustomerDB;
import it.integry.ems.migration._base.MigrationModelInterface;
public class Migration_20250522161336 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
if (!isCustomerDb(IntegryCustomerDB.Gramm_Gramm))
return;
executeStatement("INSERT INTO wtb_gest_setup_user\n" +
" SELECT 'MBELVISO', \n" +
" 'DATI_AZIENDA',\n" +
" 'ARCHIVIA_DOCUMENTI',\n" +
" 'PATH_SCAN_USER_A',\n" +
" '\\\\serverdb\\CondivisaPalo\\SCANSIONIGeneric28C-6e'");
}
@Override
public void down() throws Exception {
}
}

1
ts

Submodule ts deleted from c8bc8d56df

17584
ts/ems-core.module.ts Normal file

File diff suppressed because one or more lines are too long

5961
ts/ems-engine.module.ts Normal file

File diff suppressed because it is too large Load Diff