feat: 콘텐츠 메인, 콘텐츠 랭킹 - 포인트 사용 가능 여부 추가
This commit is contained in:
		| @@ -488,7 +488,8 @@ class AudioContentQueryRepositoryImpl( | ||||
|                     member.profileImage.prepend("/").prepend(imageHost), | ||||
|                     member.nickname, | ||||
|                     audioContent.price, | ||||
|                     audioContent.duration | ||||
|                     audioContent.duration, | ||||
|                     audioContent.isPointAvailable | ||||
|                 ) | ||||
|             ) | ||||
|             .from(audioContent) | ||||
| @@ -557,7 +558,8 @@ class AudioContentQueryRepositoryImpl( | ||||
|                     member.profileImage.prepend("/").prepend(imageHost), | ||||
|                     member.nickname, | ||||
|                     audioContent.price, | ||||
|                     audioContent.duration | ||||
|                     audioContent.duration, | ||||
|                     audioContent.isPointAvailable | ||||
|                 ) | ||||
|             ) | ||||
|             .from(audioContent) | ||||
| @@ -776,7 +778,8 @@ class AudioContentQueryRepositoryImpl( | ||||
|                     member.profileImage.prepend("/").prepend(cloudfrontHost), | ||||
|                     member.nickname, | ||||
|                     audioContent.price, | ||||
|                     audioContent.duration | ||||
|                     audioContent.duration, | ||||
|                     audioContent.isPointAvailable | ||||
|                 ) | ||||
|             ) | ||||
|             .from(audioContent) | ||||
| @@ -896,7 +899,8 @@ class AudioContentQueryRepositoryImpl( | ||||
|                         .prepend(imageHost), | ||||
|                     member.nickname, | ||||
|                     audioContent.price, | ||||
|                     audioContent.duration | ||||
|                     audioContent.duration, | ||||
|                     audioContent.isPointAvailable | ||||
|                 ) | ||||
|             ) | ||||
|             .from(audioContent) | ||||
| @@ -956,7 +960,8 @@ class AudioContentQueryRepositoryImpl( | ||||
|                     member.profileImage.prepend("/").prepend(imageHost), | ||||
|                     member.nickname, | ||||
|                     audioContent.price, | ||||
|                     audioContent.duration | ||||
|                     audioContent.duration, | ||||
|                     audioContent.isPointAvailable | ||||
|                 ) | ||||
|             ) | ||||
|             .from(audioContentCurationItem) | ||||
| @@ -1018,6 +1023,7 @@ class AudioContentQueryRepositoryImpl( | ||||
|                     audioContent.duration, | ||||
|                     member.id, | ||||
|                     member.nickname, | ||||
|                     audioContent.isPointAvailable, | ||||
|                     member.profileImage.prepend("/").prepend(imageHost) | ||||
|                 ) | ||||
|             ) | ||||
|   | ||||
| @@ -11,5 +11,6 @@ data class GetAudioContentMainItem @QueryProjection constructor( | ||||
|     @JsonProperty("creatorProfileImageUrl") val creatorProfileImageUrl: String, | ||||
|     @JsonProperty("creatorNickname") val creatorNickname: String, | ||||
|     @JsonProperty("price") val price: Int, | ||||
|     @JsonProperty("duration") val duration: String | ||||
|     @JsonProperty("duration") val duration: String, | ||||
|     @JsonProperty("isPointAvailable") val isPointAvailable: Boolean | ||||
| ) | ||||
|   | ||||
| @@ -18,5 +18,6 @@ data class GetAudioContentRankingItem @QueryProjection constructor( | ||||
|     @JsonProperty("duration") val duration: String, | ||||
|     @JsonProperty("creatorId") val creatorId: Long, | ||||
|     @JsonProperty("creatorNickname") val creatorNickname: String, | ||||
|     @JsonProperty("isPointAvailable") val isPointAvailable: Boolean, | ||||
|     @JsonProperty("creatorProfileImageUrl") val creatorProfileImageUrl: String | ||||
| ) | ||||
|   | ||||
| @@ -94,7 +94,8 @@ class AudioContentCurationQueryRepository(private val queryFactory: JPAQueryFact | ||||
|                     member.profileImage.prepend("/").prepend(cloudfrontHost), | ||||
|                     member.nickname, | ||||
|                     audioContent.price, | ||||
|                     audioContent.duration | ||||
|                     audioContent.duration, | ||||
|                     audioContent.isPointAvailable | ||||
|                 ) | ||||
|             ) | ||||
|             .from(audioContent) | ||||
|   | ||||
| @@ -97,7 +97,8 @@ class ContentMainTabTagCurationRepository( | ||||
|                     member.profileImage.prepend("/").prepend(imageHost), | ||||
|                     member.nickname, | ||||
|                     audioContent.price, | ||||
|                     audioContent.duration | ||||
|                     audioContent.duration, | ||||
|                     audioContent.isPointAvailable | ||||
|                 ) | ||||
|             ) | ||||
|             .from(contentHashTagCurationItem) | ||||
|   | ||||
| @@ -210,7 +210,8 @@ class OrderQueryRepositoryImpl( | ||||
|                         .prepend(coverImageHost), | ||||
|                     member.nickname, | ||||
|                     audioContent.price, | ||||
|                     audioContent.duration | ||||
|                     audioContent.duration, | ||||
|                     audioContent.isPointAvailable | ||||
|                 ) | ||||
|             ) | ||||
|             .from(order) | ||||
|   | ||||
| @@ -102,6 +102,7 @@ class RankingRepository( | ||||
|                     audioContent.duration, | ||||
|                     member.id, | ||||
|                     member.nickname, | ||||
|                     audioContent.isPointAvailable, | ||||
|                     member.profileImage.prepend("/").prepend(imageHost) | ||||
|                 ) | ||||
|             ) | ||||
| @@ -560,6 +561,7 @@ class RankingRepository( | ||||
|                     audioContent.duration, | ||||
|                     member.id, | ||||
|                     member.nickname, | ||||
|                     audioContent.isPointAvailable, | ||||
|                     member.profileImage.prepend("/").prepend(imageHost) | ||||
|                 ) | ||||
|             ) | ||||
| @@ -726,6 +728,7 @@ class RankingRepository( | ||||
|                     audioContent.duration, | ||||
|                     member.id, | ||||
|                     member.nickname, | ||||
|                     audioContent.isPointAvailable, | ||||
|                     member.profileImage.prepend("/").prepend(imageHost) | ||||
|                 ) | ||||
|             ) | ||||
| @@ -782,6 +785,7 @@ class RankingRepository( | ||||
|                     audioContent.duration, | ||||
|                     member.id, | ||||
|                     member.nickname, | ||||
|                     audioContent.isPointAvailable, | ||||
|                     member.profileImage.prepend("/").prepend(imageHost) | ||||
|                 ) | ||||
|             ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user