示例#1
0
 public int GetCount()
 {
     return(ShopsDAL.GetCount());
 }
示例#2
0
 public int CheckShopByShopName(string shopname)
 {
     return(ShopsDAL.CheckShopByShopName(shopname));
 }
示例#3
0
 /// <summary>
 /// 添加
 /// </summary>
 /// <param name="ShopItem">item</param>
 /// <returns></returns>
 public int AddShop(Shop ShopItem)
 {
     return(ShopsDAL.AddShop(ShopItem));
 }
示例#4
0
 public static DataTable GetBuyerGrade(string nickName)
 {
     return(ShopsDAL.GetBuyerGrade(nickName));
 }
示例#5
0
 public List <Shop> GetListBydid(int did)
 {
     return(ShopsDAL.GetListBydid(did));
 }
示例#6
0
        public string GetShopNameById(int shopid)
        {
            Shop item = ShopsDAL.GetShopItem(shopid);

            return(item != null ? item.ShopName : "");
        }
示例#7
0
 public static string GetShopeOldBuyerCount(string sellerNickName)
 {
     return(ShopsDAL.GetShopeOldBuyerCount(sellerNickName));
 }
示例#8
0
 /// <summary>
 /// 获取集合
 /// </summary>
 /// <param name="pageindex">当前页码</param>
 /// <param name="pagesize">分页大小</param>
 /// <param name="sortstr">排序</param>
 /// <returns>List</returns>
 public List <Shop> GetList(int pageindex, int pagesize)
 {
     return(ShopsDAL.GetList(pageindex, pagesize));
 }
示例#9
0
 public static string GetShopeUnPayOrderCount(string sellerNickName)
 {
     return(ShopsDAL.GetShopeUnPayOrderCount(sellerNickName));
 }
示例#10
0
 public static string GetShopeNoLogin3Months(string sellerNickName)
 {
     return(ShopsDAL.GetShopeNoLogin3Months(sellerNickName));
 }
示例#11
0
 public static string GetShopeRefundCount(string sellerNickName)
 {
     return(ShopsDAL.GetShopeRefundCount(sellerNickName));
 }
示例#12
0
 public static string GetShopeAvgPrice(string sellerNickName)
 {
     return(ShopsDAL.GetShopeAvgPrice(sellerNickName));
 }
示例#13
0
 public static string GetShopeTradeOrder(string sellerNickName)
 {
     return(ShopsDAL.GetShopeTradeOrder(sellerNickName));
 }
示例#14
0
 public DataSet GetListByStreetId(int streetid)
 {
     return(ShopsDAL.GetListByAreaId(streetid, "street"));
 }
示例#15
0
 public static DataTable GetSellerShopInfo(string sellerNick)
 {
     return(ShopsDAL.GetSellerShopInfo(sellerNick));
 }
示例#16
0
 public DataSet GetListByDistrictId(int districtid)
 {
     return(ShopsDAL.GetListByAreaId(districtid, "district"));
 }
示例#17
0
 //根据区域进行排序搜索
 public DataSet GetListByAreaIdSort(int areaid, string sortType)
 {
     return(ShopsDAL.GetListByAreaIdSort(areaid, sortType));
 }
示例#18
0
 /// <summary>
 /// 按照名称搜索
 /// </summary>
 /// <param name="keyword">关键字</param>
 /// <returns></returns>
 public DataSet GetListByKeyword(string keyword)
 {
     return(ShopsDAL.GetListByKeyword(keyword));
 }
示例#19
0
 public DataSet GetListByAreaId(int areaid)
 {
     return(ShopsDAL.GetListByAreaId(areaid, "area"));
 }
示例#20
0
 /// <summary>
 /// 获取实体对象
 /// </summary>
 /// <param name="shopid">店铺ID</param>
 /// <returns></returns>
 public Shop GetShopItem(int shopid)
 {
     return(ShopsDAL.GetShopItem(shopid));
 }
示例#21
0
 /// <summary>
 /// 更新人气度
 /// </summary>
 /// <param name="shopid">店铺ID</param>
 /// <returns></returns>
 public int UpdateShopHit(int shopid)
 {
     return(ShopsDAL.UpdateShopHit(shopid));
 }
示例#22
0
        /// <summary>
        /// 获取折扣
        /// </summary>
        public int GetShopZK(int shopid)
        {
            Shop item = ShopsDAL.GetShopItem(shopid);

            return(item != null ? item.zk : 0);
        }
示例#23
0
 /// <summary>
 /// 删除
 /// </summary>
 /// <param name="shopid">店铺ID</param>
 /// <returns></returns>
 public int DeleteShop(int shopid)
 {
     return(ShopsDAL.DeleteShop(shopid));
 }
示例#24
0
 /// <summary>
 /// 修改
 /// </summary>
 /// <param name="ShopItem">item</param>
 /// <returns></returns>
 public int UpdateShop(Shop ShopItem)
 {
     return(ShopsDAL.UpdateShop(ShopItem));
 }
示例#25
0
 public static DataTable GetShopeInfoStatic(string sellerNickName)
 {
     return(ShopsDAL.GetShopeInfoStatic(sellerNickName));
 }