权限申请代码
This commit is contained in:
parent
1a79ec6256
commit
243b795796
@ -122,7 +122,7 @@ public class AddFilePermTaskEndEvent extends ExecuteListener implements ExecuteL
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String postPerm = oldBo.getString("POSTPERM");
|
String postPerm = oldBo.getString("POSTPERM");
|
||||||
String thisPerm = ctx.getUserContext().getUserModel().getPositionNo();
|
String thisPerm = SDK.getORGAPI().getUser(ctx.getProcessInstance().getCreateUser()).getPositionNo();
|
||||||
if(postPerm.contains(thisPerm)){//如果已经存在该岗位,则不再更新
|
if(postPerm.contains(thisPerm)){//如果已经存在该岗位,则不再更新
|
||||||
return;
|
return;
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user