修改等额租金精度问题

This commit is contained in:
zhulianghua 2018-08-22 21:09:05 +08:00
parent 78548e0bc5
commit daddb70446

View File

@ -85,6 +85,7 @@ public class RentalServiceImpl {
rent=NumberUtils.rentRound(rent, cb.getRentRound(),cb.getRentRoundType());
}
}
rent = new BigDecimal(rent).setScale(2, BigDecimal.ROUND_HALF_UP).toString();
// 3.是否有宽限期判断,宽限期租金列表计算
List<String> rent_list = new ArrayList<String>();
rent_list = getGraceRentList(cb, rent_list, preRate);