From a6f2dd2535f0e230d5ff7c44731c7f2528e23496 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Mon, 17 Dec 2018 13:52:51 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BB=98=E6=AC=BE=E7=94=B3=E8=AF=B7=E8=B4=B4?= =?UTF-8?q?=E6=81=AF=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tenwa/flow/fund/flowpayment/FundPaymentCar.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src_tenwa/com/tenwa/flow/fund/flowpayment/FundPaymentCar.java b/src_tenwa/com/tenwa/flow/fund/flowpayment/FundPaymentCar.java index e96df4dc0..e173ee04f 100644 --- a/src_tenwa/com/tenwa/flow/fund/flowpayment/FundPaymentCar.java +++ b/src_tenwa/com/tenwa/flow/fund/flowpayment/FundPaymentCar.java @@ -159,7 +159,12 @@ public class FundPaymentCar { if(outOverMoney.compareTo(new BigDecimal(inOvermoney)) < 0){ inOvermoney = outOverMoney.toString(); } - deductMoney = deductMoney.add(new BigDecimal(inOvermoney)); + if("feetype27".equals(boLFPs.get(i).getAttribute("fee_type").toString())){ + deductMoney = deductMoney.subtract(new BigDecimal(inOvermoney)); + }else{ + deductMoney = deductMoney.add(new BigDecimal(inOvermoney)); + } + outOverMoney = outOverMoney.subtract(new BigDecimal(inOvermoney)); BizObject boLFP = JBOFactory.createBizObjectQuery(LC_FUND_PLAN.CLASS_NAME, "id=:PlanID").setParameter("PlanID", planID).getSingleResult(false); BizObject boLFITOut = bomLFIT.newObject();//µÖ¿Û³µÁ¾¿î