54 lines
1.5 KiB
C#
54 lines
1.5 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Data;
|
|||
|
|
using WMS.Model.Base;
|
|||
|
|
|
|||
|
|
namespace WMS.IData.IBase
|
|||
|
|
{
|
|||
|
|
public interface ICustomer
|
|||
|
|
{
|
|||
|
|
#region 获得客户信息
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获得客户信息
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="customer"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
DataTable GetCustomer(CustomerModel customer);
|
|||
|
|
#endregion
|
|||
|
|
void AddCustomer(CustomerModel model);
|
|||
|
|
/// <summary>
|
|||
|
|
/// 立体库使用货主
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="customer"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
DataSet GetCustomer();
|
|||
|
|
#region 客户信息数据 新增 更新
|
|||
|
|
/// <summary>
|
|||
|
|
/// 客户信息数据进行增加 更新操作
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="model">客户Model</param>
|
|||
|
|
/// <param name="flag">0:增加 1:修改</param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
void UpdateCustomer(CustomerModel model);
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region 删除客户信息
|
|||
|
|
/// <summary>
|
|||
|
|
/// 删除客户信息
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="customer_id">客户编号ID</param>
|
|||
|
|
int execCustomerDel(string customer_id);
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region 获取流水号
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取流水号
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
string GetSerialNum();
|
|||
|
|
#endregion
|
|||
|
|
}
|
|||
|
|
}
|