Skip to content

Commit

Permalink
bug(#254): 타임라인 조회 API 내 코멘트 개수 조회 쿼리 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
egg528 committed Apr 11, 2024
1 parent 91705a1 commit 79f4f7e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ class CommentJdbcQueryRepository(
"""
SELECT
c.GOAL_ID AS GOAL_ID,
COUNT(GOAL_ID) AS COMMENT_COUNT
c.COUNT AS COMMENT_COUNT
FROM comment_counts c
WHERE 1 = 1
AND c.GOAL_ID IN (:goalIds)
GROUP BY c.GOAL_ID
""".trimIndent()

val namedParameter = MapSqlParameterSource()
Expand Down

0 comments on commit 79f4f7e

Please sign in to comment.