From 81fc1a31c8ece1a1ff73e3b5f4bda2b3826fcb48 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Mon, 27 May 2019 18:40:21 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BA=A7=E5=93=81=E4=B8=AD=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E8=BF=98=E6=AC=BE=E6=AC=A1=E5=BA=8F=E6=B2=A1=E6=9C=89=E7=BD=9A?= =?UTF-8?q?=E6=81=AF=EF=BC=8C=E4=B8=BA=E4=BA=86=E9=98=B2=E6=AD=A2=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=E6=8A=A5=E9=94=99=EF=BC=8C=E6=9A=82=E5=B0=86=E7=BD=9A?= =?UTF-8?q?=E6=81=AF=E4=B8=BA0=E4=BF=9D=E5=AD=98=E8=BF=9B=E5=8E=BB?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tenwa/flow/rent/rentincome/RentIncomeMethod.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src_tenwa/com/tenwa/flow/rent/rentincome/RentIncomeMethod.java b/src_tenwa/com/tenwa/flow/rent/rentincome/RentIncomeMethod.java index df3109a1b..25d57ff25 100644 --- a/src_tenwa/com/tenwa/flow/rent/rentincome/RentIncomeMethod.java +++ b/src_tenwa/com/tenwa/flow/rent/rentincome/RentIncomeMethod.java @@ -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){ //如果能正常减去,则为对应的回笼对象赋值对应值