53 lines
1.7 KiB
C#
53 lines
1.7 KiB
C#
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
|
|
{
|
|
/// <summary>
|
|
/// 注册用户
|
|
/// </summary>
|
|
/// <param name="CNumber">电话号码</param>
|
|
/// <param name="ResId">客户ID</param>
|
|
/// <param name="CustomerFrom">来源ID</param>
|
|
/// <returns></returns>
|
|
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);
|
|
|
|
/// <summary>
|
|
/// 分配企微资源
|
|
/// </summary>
|
|
/// <param name="postData"></param>
|
|
/// <returns></returns>
|
|
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<RES_CUSTOMERQW> list);
|
|
|
|
IList<string> QueryKFuseridByEid(decimal? eid);
|
|
|
|
/// <summary>
|
|
/// 根据外部联系人id查找次用户有没有绑定的resid
|
|
/// </summary>
|
|
/// <param name="extUserid"></param>
|
|
/// <returns></returns>
|
|
string FindResidByExtUser(string extUserid);
|
|
}
|
|
} |