Aggiunta DMS come application

This commit is contained in:
2024-06-28 18:51:50 +02:00
parent 087189a0b0
commit a0cd0cbec5

View File

@@ -402,4 +402,8 @@ public abstract class BaseMigration implements MigrationModelInterface {
return currentAzienda.getApplicationNameEnum() == ApplicationName.TEXTILES;
}
protected boolean isDMS() throws SQLException, IOException, DataConverterNotFoundException, InstantiationException, IllegalAccessException {
Azienda currentAzienda = Azienda.getDefaultAzienda(advancedDataSource.getConnection());
return currentAzienda.getApplicationNameEnum() == ApplicationName.DMS;
}
}