콘텐츠 리스트 - 가격과 시간 추가
This commit is contained in:
parent
d32f503633
commit
1d904c5cde
|
@ -344,7 +344,9 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
audioContent.title,
|
||||
member.id,
|
||||
member.profileImage.prepend("/").prepend(cloudfrontHost),
|
||||
member.nickname
|
||||
member.nickname,
|
||||
audioContent.price,
|
||||
audioContent.duration
|
||||
)
|
||||
)
|
||||
.from(audioContent)
|
||||
|
@ -416,7 +418,9 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
audioContent.title,
|
||||
member.id,
|
||||
member.profileImage.prepend("/").prepend(cloudfrontHost),
|
||||
member.nickname
|
||||
member.nickname,
|
||||
audioContent.price,
|
||||
audioContent.duration
|
||||
)
|
||||
)
|
||||
.from(audioContent)
|
||||
|
@ -519,7 +523,9 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
|
|||
member.profileImage
|
||||
.prepend("/")
|
||||
.prepend(cloudfrontHost),
|
||||
member.nickname
|
||||
member.nickname,
|
||||
audioContent.price,
|
||||
audioContent.duration
|
||||
)
|
||||
)
|
||||
.from(audioContent)
|
||||
|
|
|
@ -9,5 +9,7 @@ data class GetAudioContentMainItem @QueryProjection constructor(
|
|||
@JsonProperty("title") val title: String,
|
||||
@JsonProperty("creatorId") val creatorId: Long,
|
||||
@JsonProperty("creatorProfileImageUrl") val creatorProfileImageUrl: String,
|
||||
@JsonProperty("creatorNickname") val creatorNickname: String
|
||||
@JsonProperty("creatorNickname") val creatorNickname: String,
|
||||
@JsonProperty("price") val price: Int,
|
||||
@JsonProperty("duration") val duration: String
|
||||
)
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
package kr.co.vividnext.sodalive.content.main
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
import kr.co.vividnext.sodalive.content.main.banner.GetAudioContentBannerResponse
|
||||
import kr.co.vividnext.sodalive.content.main.curation.GetAudioContentCurationResponse
|
||||
|
||||
data class GetAudioContentMainResponse(
|
||||
@JsonProperty("newContentUploadCreatorList") val newContentUploadCreatorList: List<GetNewContentUploadCreator>,
|
||||
@JsonProperty("bannerList") val bannerList: List<GetAudioContentBannerResponse>,
|
||||
@JsonProperty("orderList") val orderList: List<GetAudioContentMainItem>,
|
||||
@JsonProperty("themeList") val themeList: List<String>,
|
||||
@JsonProperty("newContentList") val newContentList: List<GetAudioContentMainItem>,
|
||||
@JsonProperty("curationList") val curationList: List<GetAudioContentCurationResponse>,
|
||||
@JsonProperty("contentRankingSortTypeList") val contentRankingSortTypeList: List<String>,
|
||||
@JsonProperty("contentRanking") val contentRanking: GetAudioContentRanking
|
||||
)
|
|
@ -59,7 +59,9 @@ class AudioContentCurationQueryRepository(private val queryFactory: JPAQueryFact
|
|||
audioContent.title,
|
||||
member.id,
|
||||
member.profileImage.prepend("/").prepend(cloudfrontHost),
|
||||
member.nickname
|
||||
member.nickname,
|
||||
audioContent.price,
|
||||
audioContent.duration
|
||||
)
|
||||
)
|
||||
.from(audioContent)
|
||||
|
|
|
@ -192,7 +192,9 @@ class OrderQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : Orde
|
|||
member.profileImage
|
||||
.prepend("/")
|
||||
.prepend(coverImageHost),
|
||||
member.nickname
|
||||
member.nickname,
|
||||
audioContent.price,
|
||||
audioContent.duration
|
||||
)
|
||||
)
|
||||
.from(order)
|
||||
|
|
Loading…
Reference in New Issue