Merge pull request '콘텐츠 대여가격' (#232) from test into main
Reviewed-on: #232
This commit is contained in:
commit
cec87da69d
|
@ -42,7 +42,7 @@ data class Order(
|
|||
var audioContent: AudioContent? = null
|
||||
set(value) {
|
||||
can = if (type == OrderType.RENTAL && !value?.isOnlyRental!!) {
|
||||
ceil(value.price * 0.6).toInt()
|
||||
ceil(value.price * 0.7).toInt()
|
||||
} else {
|
||||
value?.price!!
|
||||
}
|
||||
|
|
|
@ -73,8 +73,8 @@ class ContentSeriesService(
|
|||
val minMaxPrice = repository.getSeriesContentMinMaxPrice(seriesId = seriesId)
|
||||
val minPrice = minMaxPrice.minPrice
|
||||
val maxPrice = minMaxPrice.maxPrice
|
||||
val rentalMinPrice = (minMaxPrice.minPrice * 0.6).toInt()
|
||||
val rentalMaxPrice = (minMaxPrice.maxPrice * 0.6).toInt()
|
||||
val rentalMinPrice = (minMaxPrice.minPrice * 0.7).toInt()
|
||||
val rentalMaxPrice = (minMaxPrice.maxPrice * 0.7).toInt()
|
||||
|
||||
val seriesContentList = getSeriesContentList(
|
||||
seriesId = seriesId,
|
||||
|
|
Loading…
Reference in New Issue