noDeal = noDeal.FindAll(f => DeptidToList(f.OrgID ?? "").Intersect(DeptidToList(_userProfile.OrgIDs ?? "")).Count() > 0);
C# 两个集合取交集
最新推荐文章于 2023-10-26 10:33:25 发布
noDeal = noDeal.FindAll(f => DeptidToList(f.OrgID ?? "").Intersect(DeptidToList(_userProfile.OrgIDs ?? "")).Count() > 0);