1,其他支付流程发起的模板更改;

2,手续费率bug修改
This commit is contained in:
zhangbb 2019-12-16 15:39:26 +08:00
parent f00d9a17bb
commit 03b1277f60
2 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,7 @@
function newApply(){
var userid="<%=CurUser.getUserID()%>";
var orgid="<%=CurUser.getOrgID()%>";
var sParams = "applyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
var sParams = "applyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>,ProjectName=<%=StringFunction.getToday()+CurUser.getUserName()+"发起其它支付流程"%>";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.BaseFlowStartAction","initFLow",sParams);
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;
var sReturnInfos=sReturnInfo.split("@");

View File

@ -39,7 +39,6 @@ public class OtherPayMethod {
public String createSplittingPayTemp(JBOTransaction tx) throws JBOException{
BigDecimal ratio = null;
String rate = "0";
String[] planID = planIDs.split("@");
for(int i=0;i<planID.length;i++){
@ -63,7 +62,7 @@ public class OtherPayMethod {
BizObject bolspt = bomLspt.newObject();
bolspt.setAttributeValue("plan_id", plan_id);
bolspt.setAttributeValue("splitting_money", splitting_money);
bolspt.setAttributeValue("service_ratio", rate);
bolspt.setAttributeValue("service_ratio", ratio.toString());
bolspt.setAttributeValue("service_money", serviceMoney);
bolspt.setAttributeValue("flowunid", flowunid);
bolspt.setAttributeValue("inputtime", StringFunction.getTodayNow());