test #267
@@ -130,6 +130,7 @@ class AudioContentMainTabSeriesService(
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
.filter { it.items.isNotEmpty() }
|
||||||
|
|
||||||
return GetContentMainTabSeriesResponse(
|
return GetContentMainTabSeriesResponse(
|
||||||
contentBannerList = contentBannerList,
|
contentBannerList = contentBannerList,
|
||||||
|
|||||||
@@ -231,9 +231,10 @@ class ContentSeriesQueryRepositoryImpl(
|
|||||||
.and(blockMember.blockedMember.id.eq(memberId))
|
.and(blockMember.blockedMember.id.eq(memberId))
|
||||||
|
|
||||||
var where = series.isActive.isTrue
|
var where = series.isActive.isTrue
|
||||||
.and(audioContentCuration.id.eq(curationId))
|
|
||||||
.and(member.isActive.isTrue)
|
.and(member.isActive.isTrue)
|
||||||
.and(member.role.eq(MemberRole.CREATOR))
|
.and(member.role.eq(MemberRole.CREATOR))
|
||||||
|
.and(audioContentCuration.id.eq(curationId))
|
||||||
|
.and(audioContentCurationItem.isActive.isTrue)
|
||||||
.and(blockMember.id.isNull)
|
.and(blockMember.id.isNull)
|
||||||
|
|
||||||
if (!isAdult) {
|
if (!isAdult) {
|
||||||
@@ -248,6 +249,7 @@ class ContentSeriesQueryRepositoryImpl(
|
|||||||
.innerJoin(series.member, member)
|
.innerJoin(series.member, member)
|
||||||
.leftJoin(blockMember).on(blockMemberCondition)
|
.leftJoin(blockMember).on(blockMemberCondition)
|
||||||
.where(where)
|
.where(where)
|
||||||
|
.orderBy(audioContentCurationItem.orders.asc())
|
||||||
.fetch()
|
.fetch()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user