Iman.BLL/RoleMenuMapManager.cs

(完整代码) 2KB

using System;
using System.Collections.Generic;
using System.Text;
using Iman.Domain;
using System.Collections;

namespace BusinessLogics
{
    public class TRoleMenuMapManager
    {
        public static IList<TRoleMenuMap> GetTRoleMenuMapListing(int roleId)
        {
            IDictionary queryParams = new Hashtable();
            queryParams.Add("RoleId", roleId);

            IList<TRoleMenuMap> roleTMenuList = new List<TRoleMenuMap>();
            roleTMenuList = TRoleMenuMap.QueryList("SelectByParam", queryParams);
            return roleTMenuList;
        }

      
        public static IList<TRoleMenuMap> GetTRoleMenuMapListing(IDictionary queryParams)
        {
            IList<TRoleMenuMap> roleTMenuList = new List<TRoleMenuMap>();
            roleTMenuList = TRoleMenuMap.QueryList("SelectByParam", queryParams);
            return roleTMenuList;
        }

        public static IList<TRoleMenuMap> GetListByParams(IDictionary queryParams)
        {
            IList<TRoleMenuMap> roleTMenuList;
            roleTMenuList = TRoleMenuMap.QueryList("SelectByParam", queryParams);
            return roleTMenuList;
        }

        public static IList<TRoleMenuMap> GetTRoleMenuMapListingForPage(string userId, string TMenuId)
        {
            IDictionary queryParams = new Hashtable();
            queryParams.Add("RoleId", userId);
            queryParams.Add("TMenuId", TMenuId);
            IList<TRoleMenuMap> roleTMenuList = new List<TRoleMenuMap>();
            roleTMenuList = TRoleMenuMap.QueryList("SelectByParamPage", queryParams);
            return roleTMenuList;
        }

        public static IList<TRoleMenuMap> GetTRoleMenuMapListingForNav(string userId)
        {
            IDictionary queryParams = new Hashtable();
            queryParams.Add("AuthId", userId);

            IList<TRoleMenuMap> roleTMenuList = new List<TRoleMenuMap>();
            roleTMenuList = TRoleMenuMap.QueryList("SelectByParamNav2", queryParams);
            return roleTMenuList;
        }

    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。