58 lines
1.8 KiB
C#
58 lines
1.8 KiB
C#
using Epost.DAL;
|
|
using Epost.Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Epost.BLL
|
|
{
|
|
public class ShopBLL
|
|
{
|
|
OrdersDAL dal = new OrdersDAL();
|
|
|
|
//#region 查询门店信息
|
|
//public IList<ShopIdModel> SelectShopId(string ShopId, string ShopName, string Location, string OrderWay, string Prino, int pages, int rows)
|
|
//{
|
|
// DataTable dt = dal.SelectShopId(ShopId, ShopName, Location, OrderWay, Prino, pages, rows);
|
|
// IList<ShopIdModel> shopId = ModelConvertHelper<ShopIdModel>.ConvertToModel(dt);
|
|
// return shopId;
|
|
//}
|
|
//#endregion
|
|
|
|
//#region 增加门店信息
|
|
//public bool AddShopId(string ShopId, string ShopName, string Location, string OrderWay, string Prino)
|
|
//{
|
|
// bool dt = dal.AddShopId(ShopId, ShopName, Location, OrderWay, Prino);
|
|
// return dt;
|
|
//}
|
|
//#endregion
|
|
|
|
//#region 删除门店信息
|
|
//public bool DeleteShopId(string ShopId, string ShopName, string Location, string OrderWay, string Prino)
|
|
//{
|
|
// bool dt = dal.DeleteShopId(ShopId, ShopName, Location, OrderWay, Prino);
|
|
// return dt;
|
|
//}
|
|
//#endregion
|
|
|
|
//#region 删除门店信息(修改的)
|
|
//public bool DeleteShop(string ShopId)
|
|
//{
|
|
// bool dt = dal.DeleteShop(ShopId);
|
|
// return dt;
|
|
//}
|
|
//#endregion
|
|
|
|
//#region 删除门店号是否已经存在(修改的)
|
|
//public bool SelectShop(string ShopId)
|
|
//{
|
|
// bool dt = dal.SelectShop(ShopId);
|
|
// return dt;
|
|
//}
|
|
//#endregion
|
|
}
|
|
}
|