fix #I9J6WS 完成加签审批主体流程

This commit is contained in:
yubaolee 2024-10-02 19:46:43 +08:00
parent 43012c89a8
commit 3484c3468a

View File

@ -13,6 +13,7 @@ using Castle.Core.Internal;
using Infrastructure.Const; using Infrastructure.Const;
using Infrastructure.Extensions; using Infrastructure.Extensions;
using Infrastructure.Helpers; using Infrastructure.Helpers;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using SqlSugar; using SqlSugar;
using Yitter.IdGenerator; using Yitter.IdGenerator;
@ -440,6 +441,10 @@ namespace OpenAuth.App
//把当前审批人变成加签人,从而可以自动审批 //把当前审批人变成加签人,从而可以自动审批
wfruntime.MakeTagNode(wfruntime.currentNodeId, tag); wfruntime.MakeTagNode(wfruntime.currentNodeId, tag);
} }
else
{
canNext = false; //加签完成了,但还需要回到该节点审批
}
} }
if (wfruntime.currentNode.setInfo.NodeDesignate == Setinfo.RUNTIME_MANY_PARENTS) if (wfruntime.currentNode.setInfo.NodeDesignate == Setinfo.RUNTIME_MANY_PARENTS)