Skip to content

Commit

Permalink
refactor: 메서드 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ybkang1108 committed Jan 14, 2025
1 parent f1aa664 commit 1854046
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public interface CommentRepository extends JpaRepository<Comment, Long> {
*/
@Query(value = "select c from Comment c " +
"where c.round.id = :roundId")
List<Comment> findAllComments(@Param("roundId") Long roundId);
List<Comment> findCommentsByRound(@Param("roundId") Long roundId);


/**
Expand All @@ -30,5 +30,5 @@ public interface CommentRepository extends JpaRepository<Comment, Long> {
*/
@Query(value = "select c from Comment c " +
"where c.member.id = :memberid")
List<Comment> findCommentByMemberId(@Param("memberId") Long memberId);
List<Comment> findCommentsByMember(@Param("memberId") Long memberId);
}

0 comments on commit 1854046

Please sign in to comment.