more fixes for persontype
This commit is contained in:
parent
3a55a861f3
commit
4eb7f2e19d
@ -1121,7 +1121,7 @@ public abstract class BaseOfficeDataImport extends CsvDataImport {
|
|||||||
// should actually be split up into two persons
|
// should actually be split up into two persons
|
||||||
// but the legacy database consists such records
|
// 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.
|
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")
|
} else if (containsWord(tradeName, "e.K.", "e.G.", "eG", "gGmbH", "GmbH", "mbH", "AG", "e.V.", "eV", "e.V")
|
||||||
|| tradeName.toLowerCase().contains("haftungsbeschränkt")
|
|| tradeName.toLowerCase().contains("haftungsbeschränkt")
|
||||||
@ -1132,6 +1132,8 @@ public abstract class BaseOfficeDataImport extends CsvDataImport {
|
|||||||
|| tradeName.toLowerCase().contains("verein")
|
|| tradeName.toLowerCase().contains("verein")
|
||||||
|| tradeName.toLowerCase().contains("gewerkschaft")
|
|| tradeName.toLowerCase().contains("gewerkschaft")
|
||||||
|| tradeName.toLowerCase().contains("gesellschaft")
|
|| tradeName.toLowerCase().contains("gesellschaft")
|
||||||
|
|| tradeName.toLowerCase().contains("kirche")
|
||||||
|
|| tradeName.toLowerCase().contains("fraktion")
|
||||||
|| tradeName.toLowerCase().contains("landkreis")
|
|| tradeName.toLowerCase().contains("landkreis")
|
||||||
|| tradeName.toLowerCase().contains("behörde")
|
|| tradeName.toLowerCase().contains("behörde")
|
||||||
|| tradeName.toLowerCase().contains("bundesamt")
|
|| tradeName.toLowerCase().contains("bundesamt")
|
||||||
|
Loading…
Reference in New Issue
Block a user