1.付款申请贴息计算

This commit is contained in:
zhangbb 2018-12-17 13:52:51 +08:00
parent 8a2ef068c5
commit a6f2dd2535

View File

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