示例#1
0
        /// <summary>
        /// 得到店铺名称
        /// </summary>
        /// <param name="accid"></param>
        /// <returns></returns>
        public static string GetCompanyName(int accid)
        {
            T_AccountDAL             dal  = new T_AccountDAL();
            Dictionary <int, string> list = dal.GetCompanyName(new int[] { accid });

            if (list != null)
            {
                return(list[accid]);
            }
            else
            {
                return("");
            }
        }
示例#2
0
        /// <summary>
        /// 获取单个店铺的名称
        /// </summary>
        /// <param name="accId"></param>
        /// <returns></returns>
        public static string GetSingleCompanyName(int accId)
        {
            T_AccountDAL dal = new T_AccountDAL();

            return(dal.GetCompanyName(accId));
        }
示例#3
0
        /// <summary>
        /// 得到店铺名称列表
        /// </summary>
        /// <param name="accids"></param>
        /// <returns></returns>
        public static Dictionary <int, string> GetCompanyName(int[] accids)
        {
            T_AccountDAL dal = new T_AccountDAL();

            return(dal.GetCompanyName(accids));
        }