콘텐츠 상세 - 댓글 수 로직 답글 포함하지 않도록 수정

This commit is contained in:
Klaus 2023-10-05 01:27:33 +09:00
parent 75efb564fc
commit 51260311a0
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ class AudioContentCommentQueryRepositoryImpl(
.from(audioContentComment)
.where(
audioContentComment.audioContent.id.eq(contentId)
.and(audioContentComment.parent.isNull)
.and(audioContentComment.isActive.isTrue)
)
.fetch()