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