using Model.ModelDto.SysDto;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WMS.Entity.SysEntity;
namespace WMS.IBLL.ISysServer
{
public interface ICustomerServer
{
///
/// 查询客户信息
///
/// 编码
/// 名称
/// 类型
/// 联系人
/// 电话
///
///
///
///
Task> GetCustomerList(string no, string name,int? type,string linkMan,string phone ,int page,int limit,RefAsync count);
///
/// 查询单条客户信息
///
///
///
Task GetCustomer(int id);
///
/// 查询全部客户信息
///
///
///
Task> GetCustomerSelect();
///
/// 添加客户信息
///
/// 客户号
/// 名称
/// 类型
/// 地址
/// 联系人
/// 电话
/// 银行卡号
/// 信用等级
/// 操作人
///
Task AddCustomer(string no,string name, int type,string address, string linkMan, string phone,string bankAccount,string creditRating, string demo,int userId);
///
/// 编辑客户信息
///
///
/// 客户号
/// 名称
/// 类型
/// 地址
/// 联系人
/// 电话
/// 银行卡号
/// 信用等级
/// 操作人
///
Task EditCustomer(int id,string no,string name, int type, string address, string linkMan, string phone, string bankAccount, string creditRating, string demo, int userId);
///
/// 删除单条客户信息
///
///
///
///
Task DelCustomer(int id,int userId);
///
/// 删除单条客户信息
///
///
///
///
Task DelsCustomer(List ids, int userId);
}
}