small fixes for imported data

This commit is contained in:
Timotheus Pokorra 2024-10-29 09:18:25 +01:00 committed by Dev und Test fuer hsadminng
parent 0e58ccfe2c
commit db6e4a7530

View File

@ -69,7 +69,6 @@ public abstract class BaseOfficeDataImport extends CsvDataImport {
512170, // 11142, partner without contractual contact 512170, // 11142, partner without contractual contact
511725, // 10764, partner without contractual contact 511725, // 10764, partner without contractual contact
512177, // 11149, partner without contractual contact 512177, // 11149, partner without contractual contact
// 512171, // 11143, partner without partner contact -- exception
-1 -1
); );
@ -80,6 +79,7 @@ public abstract class BaseOfficeDataImport extends CsvDataImport {
); );
private static final Map<Integer, HsOfficePersonType> PERSON_TYPES_BY_CONTACT = Map.of( private static final Map<Integer, HsOfficePersonType> PERSON_TYPES_BY_CONTACT = Map.of(
90072, HsOfficePersonType.NATURAL_PERSON,
90641, HsOfficePersonType.LEGAL_PERSON, 90641, HsOfficePersonType.LEGAL_PERSON,
-1, HsOfficePersonType.LEGAL_PERSON -1, HsOfficePersonType.LEGAL_PERSON
); );