콘텐츠 대여가격
- 소장가격의 60% -> 70%로 변경
This commit is contained in:
@@ -42,7 +42,7 @@ data class Order(
|
|||||||
var audioContent: AudioContent? = null
|
var audioContent: AudioContent? = null
|
||||||
set(value) {
|
set(value) {
|
||||||
can = if (type == OrderType.RENTAL && !value?.isOnlyRental!!) {
|
can = if (type == OrderType.RENTAL && !value?.isOnlyRental!!) {
|
||||||
ceil(value.price * 0.6).toInt()
|
ceil(value.price * 0.7).toInt()
|
||||||
} else {
|
} else {
|
||||||
value?.price!!
|
value?.price!!
|
||||||
}
|
}
|
||||||
|
@@ -73,8 +73,8 @@ class ContentSeriesService(
|
|||||||
val minMaxPrice = repository.getSeriesContentMinMaxPrice(seriesId = seriesId)
|
val minMaxPrice = repository.getSeriesContentMinMaxPrice(seriesId = seriesId)
|
||||||
val minPrice = minMaxPrice.minPrice
|
val minPrice = minMaxPrice.minPrice
|
||||||
val maxPrice = minMaxPrice.maxPrice
|
val maxPrice = minMaxPrice.maxPrice
|
||||||
val rentalMinPrice = (minMaxPrice.minPrice * 0.6).toInt()
|
val rentalMinPrice = (minMaxPrice.minPrice * 0.7).toInt()
|
||||||
val rentalMaxPrice = (minMaxPrice.maxPrice * 0.6).toInt()
|
val rentalMaxPrice = (minMaxPrice.maxPrice * 0.7).toInt()
|
||||||
|
|
||||||
val seriesContentList = getSeriesContentList(
|
val seriesContentList = getSeriesContentList(
|
||||||
seriesId = seriesId,
|
seriesId = seriesId,
|
||||||
|
Reference in New Issue
Block a user