调整组织类[Org]为[SysOrg]防止命名空间冲突

This commit is contained in:
yubaolee
2022-01-21 17:31:34 +08:00
parent 73b2e2aa08
commit 3f077f5d80
14 changed files with 43 additions and 43 deletions

View File

@@ -51,7 +51,7 @@ namespace OpenAuth.App
join relevance in UnitWork.Find<Relevance>(u => u.Key == "UserOrg")
on user.Id equals relevance.FirstId into temp
from r in temp.DefaultIfEmpty()
join org in UnitWork.Find<Org>(null)
join org in UnitWork.Find<SysOrg>(null)
on r.SecondId equals org.Id into orgtmp
from o in orgtmp.DefaultIfEmpty()
select new
@@ -133,7 +133,7 @@ namespace OpenAuth.App
join relevance in UnitWork.Find<Relevance>(u => u.Key == "UserOrg")
on user.Id equals relevance.FirstId into temp
from r in temp.DefaultIfEmpty()
join org in UnitWork.Find<Org>(null)
join org in UnitWork.Find<SysOrg>(null)
on r.SecondId equals org.Id into orgtmp
from o in orgtmp.DefaultIfEmpty()
select new