diff --git a/src_tenwa/com/tenwa/flow/rent/rentincome/RentIncomeMethod.java b/src_tenwa/com/tenwa/flow/rent/rentincome/RentIncomeMethod.java index c76852137..852b3df53 100644 --- a/src_tenwa/com/tenwa/flow/rent/rentincome/RentIncomeMethod.java +++ b/src_tenwa/com/tenwa/flow/rent/rentincome/RentIncomeMethod.java @@ -582,8 +582,8 @@ public class RentIncomeMethod { corpuss[j]="0.00"; }else{ boLRIT.setAttributeValue("CORPUS", deductionOverMoney); - deductionOverMoney=zero; thisRent=thisRent.add(deductionOverMoney); + deductionOverMoney=zero; corpuss[j]=new BigDecimal(corpuss[j]).subtract(deductionOverMoney).setScale(Scale.CORPUS_SCALE).toString(); } }else if("ÀûÏ¢".equals(paymentOrder[k])){ @@ -594,8 +594,8 @@ public class RentIncomeMethod { interests[j]="0.00"; }else{ boLRIT.setAttributeValue("INTEREST", deductionOverMoney); - deductionOverMoney=zero; thisRent=thisRent.add(deductionOverMoney); + deductionOverMoney=zero; interests[j]=new BigDecimal(interests[j]).subtract(deductionOverMoney).setScale(Scale.INTEREST_SCALE).toString(); } }else if("·£Ï¢".equals(paymentOrder[k])){