4.0发布前最后一般脚本;

优化登陆;
优化流程审批;
This commit is contained in:
yubao
2018-04-07 00:36:26 +08:00
parent d5db368a2f
commit e5f911079f
27 changed files with 286 additions and 367 deletions

View File

@@ -105,7 +105,7 @@ namespace OpenAuth.App
{
var elementIds = UnitWork.Find<Relevance>(
u =>
(u.FirstId == _user.Id && u.Key == Define.ROLERESOURCE) ||
(u.FirstId == _user.Id && u.Key == Define.USERELEMENT) ||
(u.Key == Define.ROLEELEMENT && _userRoleIds.Contains(u.FirstId))).Select(u => u.SecondId);
return UnitWork.Find<ModuleElement>(u => elementIds.Contains(u.Id));
}