修改业务申请发起参数和IRR计算规则

This commit is contained in:
tangfutang 2021-03-23 09:15:36 +08:00
parent 38de764b79
commit 43c655cc11
2 changed files with 8 additions and 1 deletions

View File

@ -240,6 +240,13 @@
sParams = sParams+",sex=1";
}
}
//判断是否是中车经销商。如果是中车的渠道类型是为ZC如果是正常的合同渠道类型是CG
if("<%=distributorType%>" == "types03"){
sParams = sParams+",channel=ZC";
}else{
sParams = sParams+",channel=CG";
}
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.projectapproval.BusinessApprovalStartAction","initFLow",sParams);//定义流程中需要的参数
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_" )
{

View File

@ -132,7 +132,7 @@ public class CashFlowExecutor {
if("Y".equals( cb.getFlexible() ) ){
Map<String, Map<String, String>> productRevenue = tcb.getProductRevenues();
String GPSDifference = productRevenues.get( "GPSDifference" ).get( "GPSDifference" );
sql += "union all select DATE_FORMAT(CURDATE(),'%Y/%m/%d') plan_date,'"+GPSDifference+"' flowin,'GPS²î¶î:"+GPSDifference+"' flowindetail,'' flowout,'' flowoutdetil,'"+GPSDifference+"' cleanfow from dual ";
sql += "union all select plan_date,'"+GPSDifference+"' flowin,'GPS²î¶î:"+GPSDifference+"' flowindetail,'' flowout,'' flowoutdetil,'"+GPSDifference+"' cleanfow from lc_fund_plan_temp where flowunid = '"+tcb.getDocId()+"' and fee_type='feetype10' ";
}
}else if("ORACLE".equals(InitDBType.DBTYPE)){
sql += "INSERT INTO " +Tools.getTable(tcb.getContractCashTb())+ " (id," + tcb.getPlanCName() + "";