Skip to content

Commit

Permalink
YEL-214 [fix] vote repository
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeonjeongs committed Feb 28, 2024
1 parent 2996d45 commit daa06e8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,4 @@ List<User> findAllByOtherGroupContainingYelloId(@Param("groupName") String group
+ "where LOWER(u.name) like LOWER(CONCAT('%', :name, '%'))")
Page<User> findAllByNameContaining(Pageable pageable, @Param("name") String name);

@Query("select u from User u")
Page<User> findAllByPageable(Pageable pageable);


}
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,4 @@ List<User> findAllByOtherGroupContainingYelloId(String groupName, String keyword

void delete(User user);

Page<User> findAllByPageable(Pageable pageable);

}
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,5 @@ public void delete(User user) {
userJpaRepository.delete(user);
}

@Override
public Page<User> findAllByPageable(Pageable pageable) {
return userJpaRepository.findAllByPageable(pageable);
}

}

0 comments on commit daa06e8

Please sign in to comment.