mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-18 17:48:01 +08:00
fix 优化审批节点逻辑
This commit is contained in:
@@ -761,10 +761,10 @@ namespace OpenAuth.App.Flow
|
||||
|
||||
/// <summary>
|
||||
/// 替换SQL中的权限占位符
|
||||
/// <para>如:select id from sysuser where parentId = {loginUser}</para>
|
||||
/// <para>替换后:select id from sysuser where parentId = '123'</para>
|
||||
/// <para>如:select id from sysuser where parentId = {loginUser}</para>
|
||||
/// <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 ('123','456') and relkey = 'UserOrg')</para>
|
||||
/// </summary>
|
||||
/// <param name="sql"></param>
|
||||
/// <returns></returns>
|
||||
|
Reference in New Issue
Block a user