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

This commit is contained in:
Klaus 2023-12-25 17:10:38 +09:00
parent 81415e0854
commit 4a83ebd472
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(