From 4eb7f2e19dbc0e260909dbe43cdd2e306f0eed99 Mon Sep 17 00:00:00 2001 From: Timotheus Pokorra Date: Thu, 10 Oct 2024 10:12:06 +0200 Subject: [PATCH] more fixes for persontype --- .../hsadminng/hs/migration/BaseOfficeDataImport.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java b/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java index 705f1280..9865416a 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/migration/BaseOfficeDataImport.java @@ -1121,7 +1121,7 @@ public abstract class BaseOfficeDataImport extends CsvDataImport { // should actually be split up into two persons // but the legacy database consists such records - if (endsWithWord(tradeName, "OHG", "GbR", "KG", "UG")) { + if (endsWithWord(tradeName, "OHG", "GbR", "KG", "UG", "PartGmbB", "mbB")) { return HsOfficePersonType.INCORPORATED_FIRM; // Personengesellschaft. Gesellschafter haften persönlich. } else if (containsWord(tradeName, "e.K.", "e.G.", "eG", "gGmbH", "GmbH", "mbH", "AG", "e.V.", "eV", "e.V") || tradeName.toLowerCase().contains("haftungsbeschränkt") @@ -1132,6 +1132,8 @@ public abstract class BaseOfficeDataImport extends CsvDataImport { || tradeName.toLowerCase().contains("verein") || tradeName.toLowerCase().contains("gewerkschaft") || tradeName.toLowerCase().contains("gesellschaft") + || tradeName.toLowerCase().contains("kirche") + || tradeName.toLowerCase().contains("fraktion") || tradeName.toLowerCase().contains("landkreis") || tradeName.toLowerCase().contains("behörde") || tradeName.toLowerCase().contains("bundesamt")