콘텐츠 구매 - 대여만 가능한 경우 등록된 금액의 100%를 결제하도록 수정
This commit is contained in:
		@@ -41,8 +41,8 @@ data class Order(
 | 
			
		||||
    @JoinColumn(name = "content_id", nullable = false)
 | 
			
		||||
    var audioContent: AudioContent? = null
 | 
			
		||||
        set(value) {
 | 
			
		||||
            can = if (type == OrderType.RENTAL) {
 | 
			
		||||
                ceil(value?.price!! * 0.6).toInt()
 | 
			
		||||
            can = if (type == OrderType.RENTAL && !value?.isOnlyRental!!) {
 | 
			
		||||
                ceil(value.price * 0.6).toInt()
 | 
			
		||||
            } else {
 | 
			
		||||
                value?.price!!
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user