Modified the API parameter of get all users

This commit is contained in:
nisha
2024-12-20 16:32:09 +05:30
parent c02e421eb6
commit 1a578e2727
6 changed files with 17 additions and 15 deletions

View File

@@ -16,7 +16,7 @@ public interface UserRepository extends JpaRepository<UserEntity, Long> {
boolean existsByEmailIgnoreCaseAndHubUniqueUuid(String email, String hubUuid);
List<UserEntity> findByRoleEntityIdAndHubId(Long roleId, Long hubId);
List<UserEntity> findByRoleEntityIdInAndHubId(List<Long> roleIds, Long hubId);
List<UserEntity> findByHubId(Long hubId);