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();//µÖ¿Û³µÁ¾¿î