payverse 적용 #344

Merged
klaus merged 44 commits from test into main 2025-10-10 07:44:07 +00:00
3 changed files with 4 additions and 5 deletions
Showing only changes of commit 085b217abb - Show all commits

View File

@@ -25,7 +25,7 @@ class AdminCanQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : A
can1.title, can1.title,
can1.can, can1.can,
can1.rewardCan, can1.rewardCan,
can1.price, can1.price.intValue(),
can1.currency, can1.currency,
can1.price.stringValue() can1.price.stringValue()
) )

View File

@@ -41,7 +41,7 @@ class CanQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : CanQue
can1.title, can1.title,
can1.can, can1.can,
can1.rewardCan, can1.rewardCan,
can1.price, can1.price.intValue(),
can1.currency, can1.currency,
can1.price.stringValue() can1.price.stringValue()
) )
@@ -60,7 +60,7 @@ class CanQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : CanQue
can1.title, can1.title,
can1.can, can1.can,
can1.rewardCan, can1.rewardCan,
can1.price, can1.price.intValue(),
can1.currency, can1.currency,
can1.price.stringValue() can1.price.stringValue()
) )

View File

@@ -1,14 +1,13 @@
package kr.co.vividnext.sodalive.can package kr.co.vividnext.sodalive.can
import com.querydsl.core.annotations.QueryProjection import com.querydsl.core.annotations.QueryProjection
import java.math.BigDecimal
data class CanResponse @QueryProjection constructor( data class CanResponse @QueryProjection constructor(
val id: Long, val id: Long,
val title: String, val title: String,
val can: Int, val can: Int,
val rewardCan: Int, val rewardCan: Int,
val price: BigDecimal, val price: Int,
val currency: String, val currency: String,
val priceStr: String val priceStr: String
) )