test #325
@@ -68,7 +68,8 @@ class CreatorCommunityQueryRepositoryImpl(private val queryFactory: JPAQueryFact
|
|||||||
creatorCommunity.content,
|
creatorCommunity.content,
|
||||||
creatorCommunity.createdAt,
|
creatorCommunity.createdAt,
|
||||||
creatorCommunity.isCommentAvailable,
|
creatorCommunity.isCommentAvailable,
|
||||||
creatorCommunity.price
|
creatorCommunity.price,
|
||||||
|
creatorCommunity.isAdult
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.from(creatorCommunity)
|
.from(creatorCommunity)
|
||||||
@@ -154,7 +155,8 @@ class CreatorCommunityQueryRepositoryImpl(private val queryFactory: JPAQueryFact
|
|||||||
creatorCommunity.content,
|
creatorCommunity.content,
|
||||||
creatorCommunity.createdAt,
|
creatorCommunity.createdAt,
|
||||||
creatorCommunity.isCommentAvailable,
|
creatorCommunity.isCommentAvailable,
|
||||||
creatorCommunity.price
|
creatorCommunity.price,
|
||||||
|
creatorCommunity.isAdult
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.from(creatorCommunity)
|
.from(creatorCommunity)
|
||||||
@@ -185,7 +187,8 @@ class CreatorCommunityQueryRepositoryImpl(private val queryFactory: JPAQueryFact
|
|||||||
creatorCommunity.content,
|
creatorCommunity.content,
|
||||||
creatorCommunity.createdAt,
|
creatorCommunity.createdAt,
|
||||||
creatorCommunity.isCommentAvailable,
|
creatorCommunity.isCommentAvailable,
|
||||||
creatorCommunity.price
|
creatorCommunity.price,
|
||||||
|
creatorCommunity.isAdult
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.from(creatorCommunity)
|
.from(creatorCommunity)
|
||||||
|
|||||||
@@ -14,7 +14,8 @@ data class SelectCommunityPostResponse @QueryProjection constructor(
|
|||||||
val content: String,
|
val content: String,
|
||||||
val date: LocalDateTime,
|
val date: LocalDateTime,
|
||||||
val isCommentAvailable: Boolean,
|
val isCommentAvailable: Boolean,
|
||||||
val price: Int
|
val price: Int,
|
||||||
|
val isAdult: Boolean
|
||||||
) {
|
) {
|
||||||
fun toCommunityPostListResponse(
|
fun toCommunityPostListResponse(
|
||||||
imageHost: String,
|
imageHost: String,
|
||||||
@@ -57,7 +58,7 @@ data class SelectCommunityPostResponse @QueryProjection constructor(
|
|||||||
price = price,
|
price = price,
|
||||||
date = date,
|
date = date,
|
||||||
isCommentAvailable = isCommentAvailable,
|
isCommentAvailable = isCommentAvailable,
|
||||||
isAdult = false,
|
isAdult = isAdult,
|
||||||
isLike = isLike,
|
isLike = isLike,
|
||||||
existOrdered = existOrdered,
|
existOrdered = existOrdered,
|
||||||
likeCount = likeCount,
|
likeCount = likeCount,
|
||||||
|
|||||||
Reference in New Issue
Block a user