Compare commits
No commits in common. "cca75420f0672f9bab30d9fc1e32066b096ca657" and "86c627ed1df4df6490b4aee4c0f942fe7aa6867a" have entirely different histories.
cca75420f0
...
86c627ed1d
|
@ -319,9 +319,6 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
isAdult: Boolean
|
||||
): List<GetAudioContentMainItem> {
|
||||
var where = audioContent.isActive.isTrue
|
||||
.and(audioContent.member.isNotNull)
|
||||
.and(audioContent.duration.isNotNull)
|
||||
.and(audioContent.member.isActive.isTrue)
|
||||
.and(audioContent.curation.id.eq(curationId))
|
||||
|
||||
if (!isAdult) {
|
||||
|
@ -336,7 +333,7 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
audioContent.title,
|
||||
audioContent.isAdult,
|
||||
member.id,
|
||||
member.profileImage
|
||||
member.profileImage.nullif("profile/default-profile.png")
|
||||
.prepend("/")
|
||||
.prepend(cloudfrontHost),
|
||||
member.nickname
|
||||
|
@ -344,7 +341,6 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
)
|
||||
.from(audioContent)
|
||||
.innerJoin(audioContent.member, member)
|
||||
.leftJoin(audioContent.curation, audioContentCuration)
|
||||
.where(where)
|
||||
.orderBy(audioContent.id.desc())
|
||||
.fetch()
|
||||
|
|
Loading…
Reference in New Issue