using CRM.Core.DTO.Res;
using System.Collections.Generic;
using WX.CRM.Common;
using WX.CRM.Model.Entity;
namespace WX.CRM.IBLL.Res
{
public interface IRES_CUSTOMER
{
///
/// 注册用户
///
/// 电话号码
/// 客户ID
/// 来源ID
///
int ResgisterCustomer(string CNumber, string ResId, string CustomerFrom, string customerDetailXml = null, string v_umid = "");
bool Update(ref ValidationErrors errors, WX.CRM.Model.Entity.RES_CUSTOMER model);
int CrossDBResgisterCustomer(string CNumber, string ResId, string CustomerFrom, string customerDetailXml = null);
void res_customerdetial_log(string ip, string resid, decimal inneruserid, decimal eid);
void HandlerSalerAddCustomer(string resId, decimal userId);
///
/// 分配企微资源
///
///
///
int ResAllocationCustomer(ResAllocationDto postData);
void BindCustomerQw(string resId, string userId);
void BindCustomerResid(string resId, string userId);
void UnBindCustomerQw(string resId, string userId);
RES_CUSTOMERQW QueryCustomerQwByUnionId(string unionid);
int InitCustomerqw(IList list);
IList QueryKFuseridByEid(decimal? eid);
///
/// 根据外部联系人id查找次用户有没有绑定的resid
///
///
///
string FindResidByExtUser(string extUserid);
}
}