mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
调整组织类[Org]为[SysOrg]防止命名空间冲突
This commit is contained in:
@@ -99,13 +99,13 @@ namespace OpenAuth.App
|
||||
}
|
||||
}
|
||||
|
||||
public List<Org> Orgs
|
||||
public List<SysOrg> Orgs
|
||||
{
|
||||
get
|
||||
{
|
||||
var orgids = UnitWork.Find<Relevance>(
|
||||
u =>u.FirstId == _user.Id && u.Key == Define.USERORG).Select(u => u.SecondId);
|
||||
return UnitWork.Find<Org>(u => orgids.Contains(u.Id)).ToList();
|
||||
return UnitWork.Find<SysOrg>(u => orgids.Contains(u.Id)).ToList();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user