提交 7b63e682 编写于 作者: tangyaolong's avatar tangyaolong

用户组下一人办理其余办结挂起

上级 45b39f5d
......@@ -1518,6 +1518,23 @@ public class WFCoreService
return false;
}
}
/**
* 判断是否需要挂起
* @param execution
* @return
*/
public boolean accessClaim(DelegateExecution execution) {
Object sequenceFlowId = execution.getVariable("sequenceFlowId");
String flowAccessCond = getNextCondition(execution, sequenceFlowId); // role : any || all
if(!ObjectUtils.isEmpty(flowAccessCond) && "ANY".equalsIgnoreCase(flowAccessCond)){
return true;
}
else if (!ObjectUtils.isEmpty(flowAccessCond) && "ALL|ROLE:ANY".equalsIgnoreCase(flowAccessCond)) {
return true;
} else {
return false;
}
}
/**
* 获取连接线条件 (all/any/all|role:any)
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册