updated code for login with other hub

This commit is contained in:
harish
2024-10-23 15:07:44 +05:30
parent dbeafb9315
commit c4c43ead95
3 changed files with 10 additions and 2 deletions

View File

@@ -33,4 +33,6 @@ public interface UserRepository extends JpaRepository<UserEntity, Long> {
List<UserEntity> findByHubId(Long hubId);
Long countByStatusAndRoleEntityRoleTypeAndHubId(String status, String roleName, Long hubId);
Optional<UserEntity> findByBeneficiaryCodiceFiscaleAndHubId(String codiceFiscale, Long hubId);
}