팔로우 한 크리에이터 커뮤니티 게시물 조회 - 인증하지 않은 사람은 19금이 아닌 최신 게시물이 조회되도록 수정 #105

Merged
klaus merged 1 commits from test into main 2023-12-25 08:19:43 +00:00
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ class CreatorCommunityQueryRepositoryImpl(private val queryFactory: JPAQueryFact
val subQuery = queryFactory
.select(latest.member.id, latest.createdAt.max().`as`("maxCreatedAt"))
.from(latest)
.where(where)
.groupBy(latest.member.id)
where = where.and(