/// <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(""); } }
/// <summary> /// 获取单个店铺的名称 /// </summary> /// <param name="accId"></param> /// <returns></returns> public static string GetSingleCompanyName(int accId) { T_AccountDAL dal = new T_AccountDAL(); return(dal.GetCompanyName(accId)); }
/// <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)); }