From daddb70446db1f87dcf134b421efe1e75f655728 Mon Sep 17 00:00:00 2001 From: zhulianghua Date: Wed, 22 Aug 2018 21:09:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AD=89=E9=A2=9D=E7=A7=9F?= =?UTF-8?q?=E9=87=91=E7=B2=BE=E5=BA=A6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calc/com/tenwa/reckon/help/RentalServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/calc/com/tenwa/reckon/help/RentalServiceImpl.java b/calc/com/tenwa/reckon/help/RentalServiceImpl.java index 4eb613d5a..82b36b826 100644 --- a/calc/com/tenwa/reckon/help/RentalServiceImpl.java +++ b/calc/com/tenwa/reckon/help/RentalServiceImpl.java @@ -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 rent_list = new ArrayList(); rent_list = getGraceRentList(cb, rent_list, preRate);