mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
修复加签功能
This commit is contained in:
parent
49de0f6f8e
commit
849a80a512
@ -78,6 +78,10 @@ namespace OpenAuth.App
|
||||
public string[] GetApproverIds(QueryApproverReq req)
|
||||
{
|
||||
var approvers = GetApprovers(req);
|
||||
if (approvers == null)
|
||||
{
|
||||
return Array.Empty<string>();
|
||||
}
|
||||
//否则并行且/并行或都是返回所有加签人
|
||||
return approvers.Select(u => u.ApproverId).ToArray();
|
||||
}
|
||||
|
@ -422,7 +422,7 @@ namespace OpenAuth.App
|
||||
ActivityId = flowInstance.ActivityId
|
||||
});
|
||||
|
||||
var approverInfo = approvers.Find(u => u.ApproverId == user.Id);
|
||||
var approverInfo = approvers?.Find(u => u.ApproverId == user.Id);
|
||||
if (approverInfo != null)
|
||||
{
|
||||
//如果是加签,则调整加签状态
|
||||
|
Loading…
Reference in New Issue
Block a user