业务变更流程变更说明未填写风险预警未校验
This commit is contained in:
parent
a82864a572
commit
1d4d870647
@ -11,6 +11,7 @@ import jbo.app.tenwa.calc.LC_RENT_PLAN_TEMP;
|
||||
import jbo.app.tenwa.doc.LB_DOCATTRIBUTE;
|
||||
import jbo.app.tenwa.doc.LB_DOCRELATIVE;
|
||||
import jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT;
|
||||
import jbo.com.tenwa.entity.comm.flow.FLOW_STEP_NODE;
|
||||
import net.sf.json.JSONObject;
|
||||
|
||||
import com.amarsoft.are.ARE;
|
||||
@ -21,6 +22,7 @@ import com.amarsoft.are.jbo.JBOException;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.are.jbo.JBOTransaction;
|
||||
import com.amarsoft.are.lang.StringX;
|
||||
import com.amarsoft.context.ASUser;
|
||||
import com.base.constant.RestfullConstant;
|
||||
import com.base.util.JsonUtil;
|
||||
import com.base.util.StringUtil;
|
||||
@ -186,12 +188,45 @@ public class ChangeBusinessBO implements Serializable {
|
||||
action.setFixedFlowParam(fixedFlowParam);
|
||||
msg = action.initFLow(tx); // ¶¨ÒåÁ÷³ÌÖÐÐèÒªµÄ²ÎÊý
|
||||
params = action.getFlowParam();
|
||||
|
||||
objectNo = params.get("FlowUnid");
|
||||
projectId = params.get("ProjectId");
|
||||
if (msg.startsWith("success")) {
|
||||
serialNo = msg.split("@")[1];
|
||||
}
|
||||
BizObjectManager ftnbom = JBOFactory.getBizObjectManager(FLOW_STEP_NODE.CLASS_NAME, tx);
|
||||
BizObject bo = ftnbom.newObject();
|
||||
objectNo = params.get("FlowUnid");
|
||||
projectId = params.get("ProjectId");
|
||||
bo.setAttributeValue("flowunid", objectNo);
|
||||
bo.setAttributeValue("flowno", "BusinessChangeFlow");
|
||||
bo.setAttributeValue("taskno", serialNo);
|
||||
bo.setAttributeValue("nodeno", "11080");
|
||||
String jsonstr="{'AgentFlowUser':'','EndTime':'','SubjectName':'"+params.get("SubjectName")+"',"
|
||||
+ "'ProjectName':'"+params.get("ProjectName")+"',"
|
||||
+ "'IsHistory':'false',"
|
||||
+ "'ProductId':'"+params.get("ProductId")+"',"
|
||||
+ "'PhaseNo':'0010','AssignSubmittype':'',"
|
||||
+ "'CurUserID':'"+params.get("CurUserID")+"',"
|
||||
+ "'ObjectType':'ProductDefaultObject','flowstate':'START','ApplyType':'BusinessChangeApply','Assignfinish':'',"
|
||||
+ "'certtype':'"+params.get("certtype")+"',"
|
||||
+ "'ViewID':'',"
|
||||
+ "'carAttributes':'"+params.get("carAttributes")+"',"
|
||||
+ "'TempletNo':'LBChangeInfoTemp',"
|
||||
+ "'SubjectId':'"+params.get("SubjectId")+"',"
|
||||
+ "'customertype':'"+params.get("customertype")+"',"
|
||||
+ "'FlowKey':'"+params.get("FlowKey")+"',"
|
||||
+ "'TaskNo':'"+params.get("taskno")+"',"
|
||||
+ "'NodeNo':'11080',"
|
||||
+ "'ProjectId':'"+params.get("ProjectId")+"',"
|
||||
+ "'CurFlowUserId':'"+params.get("CurUserID")+"',"
|
||||
+ "'RoleId':'"+new ASUser(curUserId).getRoleTable().toString()+"','CurFlowUser':'"+new ASUser(curUserId).getUserName()+"',"
|
||||
+ "'FlowUnid':'"+objectNo+"',"
|
||||
+ "'leasform':'"+params.get("leasform")+"',"
|
||||
+ "'ProductStage':'BusinessChangeFlow',"
|
||||
+ "'FlowNo':'BusinessChangeFlow',"
|
||||
+ "'FlowName':'ÒµÎñ±ä¸üÁ÷³Ì','operationType':'WYC','RightType':'','ObjectNo':'"+objectNo+"'}";
|
||||
|
||||
bo.setAttributeValue("param", jsonstr);
|
||||
bo.setAttributeValue("templetno", "LBChangeInfoTemp");
|
||||
ftnbom.saveObject(bo);
|
||||
}
|
||||
|
||||
public String getSerialNo() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user