From 60f15f97c072283cd77e11a3370a5f0215e25fef Mon Sep 17 00:00:00 2001 From: zhangbb Date: Wed, 15 Apr 2020 22:28:52 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=BA=A2=E5=86=B2=E6=97=B6=E7=BA=A2=E5=86=B2?= =?UTF-8?q?=E4=B8=A4=E6=AC=A1bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tenwa/flow/rent/copyrent/InsertRentPlanStatus.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_tenwa/com/tenwa/flow/rent/copyrent/InsertRentPlanStatus.java b/src_tenwa/com/tenwa/flow/rent/copyrent/InsertRentPlanStatus.java index 313b8574c..9f6a46d1e 100644 --- a/src_tenwa/com/tenwa/flow/rent/copyrent/InsertRentPlanStatus.java +++ b/src_tenwa/com/tenwa/flow/rent/copyrent/InsertRentPlanStatus.java @@ -37,7 +37,7 @@ public class InsertRentPlanStatus extends BaseBussiness{ BigDecimal balance_money = new BigDecimal(money).setScale(2, BigDecimal.ROUND_HALF_UP); System.out.println("===========租金差额为: "+money); //有代偿记录,并且本次租金已经还完 - if(boDDI!=null&&balance_money.compareTo(new BigDecimal("0"))>-1){ + if(boDDI!=null&&(balance_money.compareTo(new BigDecimal("0"))==-1||balance_money.compareTo(new BigDecimal("0"))==0)){ calc.writeBackDistributor(rentPlanId, Sqlca); } }