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

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

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