1.产品中正常还款次序没有罚息,为了防止后台报错,暂将罚息为0保存进去。

This commit is contained in:
zhangbb 2019-05-27 18:40:21 +08:00
parent e69d6d8164
commit 81fc1a31c8

View File

@ -306,6 +306,10 @@ public class RentIncomeMethod {
if("CORPUS".equals(subtractMoneyName) || "INTEREST".equals(subtractMoneyName)){
rentMoney = rentMoney.add(new BigDecimal(0));
}
//暂时解决报错问题
if("".equals(subtractMoneyName)||subtractMoneyName==null){
subtractMoneyName="PENALTY";
}
boLRIT.setAttributeValue(subtractMoneyName, 0);
}else{
if(portionMoneys.compareTo(subtractMoney) >= 0){ //如果能正常减去,则为对应的回笼对象赋值对应值