From 0232ff078d6274dbe10dccd82dfeea92d1f992b4 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Tue, 18 Oct 2022 09:14:35 +0200 Subject: [PATCH] just a single find method in hs-office-membership repo --- .../office/membership/HsOfficeMembershipRepository.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipRepository.java b/src/main/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipRepository.java index 62d0bbfc..972c00ce 100644 --- a/src/main/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipRepository.java +++ b/src/main/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipRepository.java @@ -13,13 +13,12 @@ public interface HsOfficeMembershipRepository extends Repository findMembershipByOptionalMemberNumber(Integer memberNumber); - - List findMembershipsByPartnerUuid(UUID partnerUuid); + List findMembershipsByOptionalPartnerUuidAndOptionalMemberNumber(UUID partnerUuid, Integer memberNumber); HsOfficeMembershipEntity save(final HsOfficeMembershipEntity entity);