채널별 인기 콘텐츠
- audioTheme join을 추가하여 에러 제거
This commit is contained in:
		| @@ -347,6 +347,7 @@ class RankingRepository( | ||||
|             .and(audioContent.isActive.isTrue) | ||||
|             .and(audioContent.duration.isNotNull) | ||||
|             .and(audioContent.limited.isNull) | ||||
|             .and(audioContentTheme.isActive.isTrue) | ||||
|             .and(order.isActive.isTrue) | ||||
|             .and(member.id.eq(creatorId)) | ||||
|  | ||||
| @@ -369,6 +370,7 @@ class RankingRepository( | ||||
|             ) | ||||
|             .from(order) | ||||
|             .innerJoin(order.audioContent, audioContent) | ||||
|             .innerJoin(audioContent.theme, audioContentTheme) | ||||
|             .innerJoin(audioContent.member, member) | ||||
|             .where(where) | ||||
|             .groupBy(audioContent.id) | ||||
| @@ -384,6 +386,7 @@ class RankingRepository( | ||||
|             .and(audioContent.isActive.isTrue) | ||||
|             .and(audioContent.duration.isNotNull) | ||||
|             .and(audioContent.limited.isNull) | ||||
|             .and(audioContentTheme.isActive.isTrue) | ||||
|             .and(order.isActive.isTrue) | ||||
|             .and(member.id.eq(creatorId)) | ||||
|  | ||||
| @@ -406,6 +409,7 @@ class RankingRepository( | ||||
|             ) | ||||
|             .from(order) | ||||
|             .innerJoin(order.audioContent, audioContent) | ||||
|             .innerJoin(audioContent.theme, audioContentTheme) | ||||
|             .innerJoin(audioContent.member, member) | ||||
|             .where(where) | ||||
|             .groupBy(audioContent.id) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user