예약콘텐츠 배포

- 컨버팅 작업이 완료되지 않은 콘텐츠가 해당 시간이 되서 배포되는 버그 수정
This commit is contained in:
Klaus 2024-01-29 11:20:24 +09:00
parent 89beba25b6
commit bf634b09db
1 changed files with 1 additions and 0 deletions

View File

@ -614,6 +614,7 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
val where = audioContent.isActive.isFalse
.and(audioContent.releaseDate.isNotNull)
.and(audioContent.releaseDate.loe(LocalDateTime.now()))
.and(audioContent.duration.isNotNull)
return queryFactory
.select(audioContent.id)