feat: 크리에이터 채널 콘텐츠 리스트 - 포인트 사용 가능 여부 추가

This commit is contained in:
Klaus 2025-06-10 14:44:54 +09:00
parent 16a2b82ffd
commit 8335717741
2 changed files with 4 additions and 2 deletions

View File

@ -262,7 +262,8 @@ class AudioContentQueryRepositoryImpl(
audioContent.releaseDate.gt(LocalDateTime.now()),
Expressions.asBoolean(false),
Expressions.asBoolean(false),
audioContent.remaining.loe(0)
audioContent.remaining.loe(0),
audioContent.isPointAvailable
)
)
.from(audioContent)

View File

@ -21,5 +21,6 @@ data class GetAudioContentListItem @QueryProjection constructor(
val isScheduledToOpen: Boolean,
var isRented: Boolean,
var isOwned: Boolean,
var isSoldOut: Boolean
var isSoldOut: Boolean,
val isPointAvailable: Boolean
)