크리에이터 커뮤니티 #102
|
@ -272,7 +272,6 @@ class CreatorCommunityService(
|
||||||
)
|
)
|
||||||
|
|
||||||
val totalCount = commentRepository.totalCountCommentByPostId(postId = postId)
|
val totalCount = commentRepository.totalCountCommentByPostId(postId = postId)
|
||||||
|
|
||||||
return GetCommunityPostCommentListResponse(totalCount = totalCount, items = commentList)
|
return GetCommunityPostCommentListResponse(totalCount = totalCount, items = commentList)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,7 @@ class CreatorCommunityCommentQueryRepositoryImpl(
|
||||||
)
|
)
|
||||||
.offset(offset)
|
.offset(offset)
|
||||||
.limit(limit)
|
.limit(limit)
|
||||||
|
.orderBy(creatorCommunityComment.createdAt.desc())
|
||||||
.fetch()
|
.fetch()
|
||||||
.asSequence()
|
.asSequence()
|
||||||
.map {
|
.map {
|
||||||
|
|
Loading…
Reference in New Issue