refactor: 优化流程审批节点权限

This commit is contained in:
yubaolee
2025-04-11 15:18:55 +08:00
parent fc9d786a83
commit ee685f6176
3 changed files with 5 additions and 5 deletions

View File

@@ -763,7 +763,7 @@ namespace OpenAuth.App.Flow
/// 替换SQL中的权限占位符
/// <para>如当前用户的全部下属select id from sysuser where parentId = {loginUser}</para>
/// <para>替换后select id from sysuser where parentId = '123'</para>
/// <para>如d登录用户同部门的人select id from sysuser where id in (select firstid from relevance where secondid in ({loginOrg}) and relkey = 'UserOrg')</para>
/// <para>如登录用户同部门的人select id from sysuser where id in (select firstid from relevance where secondid in ({loginOrg}) and relkey = 'UserOrg')</para>
/// <para>替换后: select id from sysuser where id in (select firstid from relevance where secondid in ('123','456') and relkey = 'UserOrg')</para>
/// </summary>
/// <param name="sql"></param>