mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 18:47:55 +08:00
1.0 beta版
1 完成进出库实例Stock; 2 全面实现组织数据分离,参考Stock实例; 3 全新的基于CodeSmith EF生成机制; 4 全面完成菜单授权; 5 增加Anonymous机制,可以灵活控制Action是否需要权限控制;
This commit is contained in:
@@ -15,7 +15,7 @@ namespace OpenAuth.Repository
|
||||
|
||||
public IEnumerable<Stock> LoadInOrgs(params int[] orgId)
|
||||
{
|
||||
var result = from stock in Context.Stocks where orgId.Contains(stock.Id)
|
||||
var result = from stock in Context.Stocks where orgId.Contains(stock.OrgId)
|
||||
select stock;
|
||||
return result;
|
||||
|
||||
|
Reference in New Issue
Block a user