贴息参与IRR计算

This commit is contained in:
tangfutang 2021-03-26 15:09:28 +08:00
parent 3f43e8d607
commit b102cc5a47

View File

@ -127,7 +127,7 @@ public class CashFlowExecutor {
sql +=" if(fundplan.pay_type='pay_type_in',fundplan.plan_money,-fundplan.plan_money) cleanfow " ; sql +=" if(fundplan.pay_type='pay_type_in',fundplan.plan_money,-fundplan.plan_money) cleanfow " ;
sql +=" from "+Tools.getTable(tcb.getFundFundPlan_tb())+" fundplan " ; sql +=" from "+Tools.getTable(tcb.getFundFundPlan_tb())+" fundplan " ;
sql +=" left join code_library tdd on fundplan.fee_type = tdd.itemno and tdd.codeno='FeeType' " ; sql +=" left join code_library tdd on fundplan.fee_type = tdd.itemno and tdd.codeno='FeeType' " ;
sql +=" where fundplan.flowunid = '"+ tcb.getDocId()+"' and fundplan."+tcb.getPlanCName()+"='"+tcb.getPlanCValue()+"' and fundplan.fee_type in ('feetype2','feetype1','feetype10','feetype16','feetype17') "; sql +=" where fundplan.flowunid = '"+ tcb.getDocId()+"' and fundplan."+tcb.getPlanCName()+"='"+tcb.getPlanCValue()+"' and fundplan.fee_type in ('feetype2','feetype1','feetype10','feetype16','feetype17','feetype33') ";
//如果是灵活产品减去产品中配置的GPS差额 //如果是灵活产品减去产品中配置的GPS差额
if("Y".equals( cb.getFlexible() ) ){ if("Y".equals( cb.getFlexible() ) ){
Map<String, Map<String, String>> productRevenue = tcb.getProductRevenues(); Map<String, Map<String, String>> productRevenue = tcb.getProductRevenues();