Compare commits

..

No commits in common. "afb99fef64a3d4f2570ae13bbe04899b30187651" and "7dfaa360242adb1e26ad0c70a90256db859fd5ab" have entirely different histories.

2 changed files with 12 additions and 7 deletions

View File

@ -428,6 +428,10 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
.fetch() .fetch()
} }
@Cacheable(
value = ["findAudioContentByCurationId"],
cacheManager = "cacheManager"
)
override fun findAudioContentByCurationId( override fun findAudioContentByCurationId(
curationId: Long, curationId: Long,
cloudfrontHost: String, cloudfrontHost: String,

View File

@ -1,13 +1,14 @@
package kr.co.vividnext.sodalive.content.main package kr.co.vividnext.sodalive.content.main
import com.fasterxml.jackson.annotation.JsonProperty
import com.querydsl.core.annotations.QueryProjection import com.querydsl.core.annotations.QueryProjection
data class GetAudioContentMainItem @QueryProjection constructor( data class GetAudioContentMainItem @QueryProjection constructor(
val contentId: Long, @JsonProperty("contentId") val contentId: Long,
val coverImageUrl: String, @JsonProperty("coverImageUrl") val coverImageUrl: String,
val title: String, @JsonProperty("title") val title: String,
val isAdult: Boolean, @JsonProperty("adult") val isAdult: Boolean,
val creatorId: Long, @JsonProperty("creatorId") val creatorId: Long,
val creatorProfileImageUrl: String, @JsonProperty("creatorProfileImageUrl") val creatorProfileImageUrl: String,
val creatorNickname: String @JsonProperty("creatorNickname") val creatorNickname: String
) )