크리에이터 관리자 카테고리 콘텐츠 리스트

- 페이징 처리, 정렬순서 최근에 추가한 콘텐츠가 먼저 나오도록 수정
This commit is contained in:
Klaus 2024-02-07 06:21:03 +09:00
parent ebb969c039
commit 113d29fab0
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ class CreatorAdminCategoryRepository(private val queryFactory: JPAQueryFactory)
.and(audioContent.member.id.eq(memberId))
.and(audioContent.isActive.isTrue.or(audioContent.releaseDate.isNotNull))
)
.orderBy(categoryContent.updatedAt.desc())
.offset(offset)
.limit(limit)
.fetch()
}
}