팔로우 한 크리에이터 커뮤니티 게시물 조회 - 인증하지 않은 사람은 19금이 아닌 최신 게시물이 조회되도록 수정 #105
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue