示例#1
0
 /// <summary>
 /// 获取授权功能视图
 /// </summary>
 /// <param name="userId">用户Id</param>
 /// <returns></returns>
 public IEnumerable <ModuleColumnEntity> GetModuleColumnList(string userId)
 {
     if (OperatorProvider.Provider.Current().IsSystem)
     {
         return(moduleColumnBLL.GetList());
     }
     else
     {
         return(InstanceDAL.GetModuleColumnList(userId));
     }
 }
示例#2
0
 /// <summary>
 /// 获取视图列表
 /// </summary>
 /// <param name="objectId">对象Id</param>
 /// <returns></returns>
 public IEnumerable <AuthorizeEntity> GetModuleColumnList(string objectId)
 {
     return(InstanceDAL.GetModuleColumnList(objectId));
 }