/// <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)); } }
/// <summary> /// 获取视图列表 /// </summary> /// <param name="objectId">对象Id</param> /// <returns></returns> public IEnumerable <AuthorizeEntity> GetModuleColumnList(string objectId) { return(InstanceDAL.GetModuleColumnList(objectId)); }