补上任务池代码
This commit is contained in:
parent
4581c03856
commit
f5208ec43b
@ -52,6 +52,10 @@ public class FlowUserManageServieImp implements FlowUserManageServie {
|
||||
FlowUser.putAll(this.getDesignatedCurUserDeptRole(userconfig));
|
||||
}else if(ctype.equals("流程发起人所在部门的角色")){
|
||||
FlowUser.putAll(this.getDesignatedStartUserDeptRole(model,userconfig));
|
||||
}else if(ctype.equals("Ñ¡ÔñÖ¸¶¨ÈÎÎñ³Ø½ÇÉ«")){
|
||||
Map<String,String> taskPool = new HashMap<String, String>();
|
||||
taskPool.put(userconfig.split(",")[0], userconfig.split(",")[1]);
|
||||
FlowUser.putAll(taskPool);
|
||||
}else if(ctype.equals("根据SQL语句")){
|
||||
FlowUser.putAll(this.getDesignatedSQL(model,userconfig));
|
||||
}else if(ctype.equals("根据java代码")){
|
||||
@ -114,8 +118,8 @@ public class FlowUserManageServieImp implements FlowUserManageServie {
|
||||
roles+="'"+vConfig[i]+"'";
|
||||
}
|
||||
String curOrgId=this.asUser.getOrgID();
|
||||
if(curOrgId.length()>9){
|
||||
curOrgId=curOrgId.substring(0,9);
|
||||
if(curOrgId.length()>13){
|
||||
curOrgId=curOrgId.substring(0,13);
|
||||
}
|
||||
curOrgId=curOrgId.substring(0,curOrgId.length()-4);
|
||||
String HSQL="select userid,username from O,jbo.sys.USER_ROLE ur where O.userid=ur.userid and ur.roleid in("+roles+") and O.belongorg like '"+curOrgId+"%' ";
|
||||
@ -169,7 +173,7 @@ public class FlowUserManageServieImp implements FlowUserManageServie {
|
||||
public Map<String, String> getDesignatedFlowPassStep(Map<String, String> model,String sconfig) throws Exception {
|
||||
//sconfig="0010,项目经理申请,0030,业务部经理审批"
|
||||
Map<String,String>FlowUser=new HashMap<String,String>();
|
||||
String flowunid=model.get("FlowUnid");
|
||||
String flowunid=model.get("ObjectNo");
|
||||
String vConfig[]=sconfig.split(",");
|
||||
String stemnos="";
|
||||
for(int i=0;i<vConfig.length-1;i=i+2){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user