(크리에이터)관리자 커뮤니티 게시물 정산

- 페이징 추가
This commit is contained in:
Klaus 2024-05-29 01:22:02 +09:00
parent cf08d0d490
commit 04f757a08c
2 changed files with 4 additions and 0 deletions

View File

@ -200,6 +200,8 @@ class AdminCalculateQueryRepository(private val queryFactory: JPAQueryFactory) {
) )
.groupBy(formattedDate, creatorCommunity.id) .groupBy(formattedDate, creatorCommunity.id)
.orderBy(member.id.asc(), formattedDate.desc()) .orderBy(member.id.asc(), formattedDate.desc())
.offset(offset)
.limit(limit)
.fetch() .fetch()
} }
} }

View File

@ -289,6 +289,8 @@ class CreatorAdminCalculateQueryRepository(private val queryFactory: JPAQueryFac
) )
.groupBy(formattedDate, creatorCommunity.id) .groupBy(formattedDate, creatorCommunity.id)
.orderBy(member.id.asc(), formattedDate.desc()) .orderBy(member.id.asc(), formattedDate.desc())
.offset(offset)
.limit(limit)
.fetch() .fetch()
} }
} }