修改提前终止日和计划日期引起的利息计算问题
This commit is contained in:
parent
c63bbc4912
commit
fca0eb9a71
@ -598,7 +598,12 @@ public class EarlyContract {
|
||||
//计算调整后租息
|
||||
rent=corpus.add(interest);
|
||||
end_corpus = noIncomeCorpus.subtract(noIncomeCorpus.multiply(new BigDecimal(equipmentRatio).divide(new BigDecimal(100))).setScale(2,BigDecimal.ROUND_HALF_UP));
|
||||
end_interest = noIncomeInterest.subtract(noIncomeInterest.multiply(new BigDecimal(equipmentRatio).divide(new BigDecimal(100))).setScale(2,BigDecimal.ROUND_HALF_UP));
|
||||
if(date1.before(date2) ) {
|
||||
end_interest = noIncomeInterest.subtract(noIncomeInterest.multiply(new BigDecimal(equipmentRatio).divide(new BigDecimal(100))).setScale(2,BigDecimal.ROUND_HALF_UP));
|
||||
|
||||
}else {
|
||||
end_interest = noIncomeInterest.subtract(new BigDecimal(incomeInterest));
|
||||
}
|
||||
}
|
||||
}else {
|
||||
// 获取结清后约定终止日后边期次当期租金计划的租金本金利息
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user