权限申请代码

This commit is contained in:
yujh 2024-08-15 16:22:47 +08:00
parent 1a79ec6256
commit 243b795796

View File

@ -122,7 +122,7 @@ public class AddFilePermTaskEndEvent extends ExecuteListener implements ExecuteL
return;
}
String postPerm = oldBo.getString("POSTPERM");
String thisPerm = ctx.getUserContext().getUserModel().getPositionNo();
String thisPerm = SDK.getORGAPI().getUser(ctx.getProcessInstance().getCreateUser()).getPositionNo();
if(postPerm.contains(thisPerm)){//如果已经存在该岗位则不再更新
return;
}else{