52 lines
1.4 KiB
C#
52 lines
1.4 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Data;
|
||
using WMS.IData;
|
||
using WMS.Model.Base;
|
||
|
||
namespace WMS.Business.Base
|
||
{
|
||
public class BussAddressArea : IBussFactory
|
||
{
|
||
#region 获取区域信息
|
||
/// <summary>
|
||
/// 获取区域信息
|
||
/// </summary>
|
||
/// <param name="model"></param>
|
||
/// <returns></returns>
|
||
public DataTable GetAddressArea(AddressAreaModel model)
|
||
{
|
||
return DataProvider.Instance.AddressArea.GetAddressArea(model);
|
||
}
|
||
#endregion
|
||
|
||
#region 新增或修改区域信息
|
||
/// <summary>
|
||
/// 新增或修改区域信息
|
||
/// </summary>
|
||
/// <param name="model"></param>
|
||
/// <param name="flg">0 新增,1 修改</param>
|
||
/// <returns></returns>
|
||
public int execAddressAreaAddUpdate(AddressAreaModel model, int flg)
|
||
{
|
||
return DataProvider.Instance.AddressArea.execAddressAreaAddUpdate(model, flg);
|
||
}
|
||
#endregion
|
||
|
||
#region 删除区域信息
|
||
/// <summary>
|
||
/// 删除区域信息
|
||
/// </summary>
|
||
/// <param name="id"></param>
|
||
/// <returns></returns>
|
||
public int execAddressAreaDel(string id)
|
||
{
|
||
return DataProvider.Instance.AddressArea.execAddressAreaDel(id);
|
||
}
|
||
#endregion
|
||
|
||
}
|
||
}
|