public int GetCount() { return(ShopsDAL.GetCount()); }
public int CheckShopByShopName(string shopname) { return(ShopsDAL.CheckShopByShopName(shopname)); }
/// <summary> /// 添加 /// </summary> /// <param name="ShopItem">item</param> /// <returns></returns> public int AddShop(Shop ShopItem) { return(ShopsDAL.AddShop(ShopItem)); }
public static DataTable GetBuyerGrade(string nickName) { return(ShopsDAL.GetBuyerGrade(nickName)); }
public List <Shop> GetListBydid(int did) { return(ShopsDAL.GetListBydid(did)); }
public string GetShopNameById(int shopid) { Shop item = ShopsDAL.GetShopItem(shopid); return(item != null ? item.ShopName : ""); }
public static string GetShopeOldBuyerCount(string sellerNickName) { return(ShopsDAL.GetShopeOldBuyerCount(sellerNickName)); }
/// <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)); }
public static string GetShopeUnPayOrderCount(string sellerNickName) { return(ShopsDAL.GetShopeUnPayOrderCount(sellerNickName)); }
public static string GetShopeNoLogin3Months(string sellerNickName) { return(ShopsDAL.GetShopeNoLogin3Months(sellerNickName)); }
public static string GetShopeRefundCount(string sellerNickName) { return(ShopsDAL.GetShopeRefundCount(sellerNickName)); }
public static string GetShopeAvgPrice(string sellerNickName) { return(ShopsDAL.GetShopeAvgPrice(sellerNickName)); }
public static string GetShopeTradeOrder(string sellerNickName) { return(ShopsDAL.GetShopeTradeOrder(sellerNickName)); }
public DataSet GetListByStreetId(int streetid) { return(ShopsDAL.GetListByAreaId(streetid, "street")); }
public static DataTable GetSellerShopInfo(string sellerNick) { return(ShopsDAL.GetSellerShopInfo(sellerNick)); }
public DataSet GetListByDistrictId(int districtid) { return(ShopsDAL.GetListByAreaId(districtid, "district")); }
//根据区域进行排序搜索 public DataSet GetListByAreaIdSort(int areaid, string sortType) { return(ShopsDAL.GetListByAreaIdSort(areaid, sortType)); }
/// <summary> /// 按照名称搜索 /// </summary> /// <param name="keyword">关键字</param> /// <returns></returns> public DataSet GetListByKeyword(string keyword) { return(ShopsDAL.GetListByKeyword(keyword)); }
public DataSet GetListByAreaId(int areaid) { return(ShopsDAL.GetListByAreaId(areaid, "area")); }
/// <summary> /// 获取实体对象 /// </summary> /// <param name="shopid">店铺ID</param> /// <returns></returns> public Shop GetShopItem(int shopid) { return(ShopsDAL.GetShopItem(shopid)); }
/// <summary> /// 更新人气度 /// </summary> /// <param name="shopid">店铺ID</param> /// <returns></returns> public int UpdateShopHit(int shopid) { return(ShopsDAL.UpdateShopHit(shopid)); }
/// <summary> /// 获取折扣 /// </summary> public int GetShopZK(int shopid) { Shop item = ShopsDAL.GetShopItem(shopid); return(item != null ? item.zk : 0); }
/// <summary> /// 删除 /// </summary> /// <param name="shopid">店铺ID</param> /// <returns></returns> public int DeleteShop(int shopid) { return(ShopsDAL.DeleteShop(shopid)); }
/// <summary> /// 修改 /// </summary> /// <param name="ShopItem">item</param> /// <returns></returns> public int UpdateShop(Shop ShopItem) { return(ShopsDAL.UpdateShop(ShopItem)); }
public static DataTable GetShopeInfoStatic(string sellerNickName) { return(ShopsDAL.GetShopeInfoStatic(sellerNickName)); }