using Mini.Common; using Mini.Model.CrmModel; using Mini.Model.Entity; using Mini.Model.ViewModel; using System; using System.Collections.Generic; using System.Text; namespace Mini.Services.ww { public interface Iww_QDhhuser_Service { /// /// 内部群 /// /// /// /// Ww_RoomChat GetRoomChat(string corpid, string chatid); /// /// 朋友圈数据获取 /// /// ID /// List Moment_Get(ref Laypage pager, string v_name, string corp); /// /// 外部群 /// /// /// /// Ww_GroupChat GetWw_GroupChat(string corpid, string chatid); /// /// 内部群获取 /// /// List GetInnerGroup(ref Laypage pager, string corpid, string name); /// /// 外部群获取 /// /// List GetOuterGroup(ref Laypage pager, string corpid, string name); /// /// 获取企业微信成员列表 /// /// ID /// List WorList_Get(ref Laypage pager, string v_name, string v_corpid, string v_deptid); Ww_hhuser_Name GetHHuserName(string userid, string corp); bool UpdateHHuserName(Ww_hhuser_Name model); /// /// 获取企业微信通话查询列表 /// /// /// /// /// /// /// /// List RecordList_Get(ref Laypage pager, string corpid, DateTime? stime, DateTime? etime, string customername, string kefuname, string companycode = null); /// /// 根据客户ID获取所有关系客服 /// /// ID /// List Extuser_GetAllUser(string exuserid); /// /// 获取外部联系人列表 /// /// /// List Extuser_Get(string v_userid, string v_corpid); /// /// 获取内部联系人好友列表 /// /// /// /// List InnerUser_Get(string v_userid, string v_corpid); /// /// 查找客户 /// /// 电话号码,昵称,备注 /// List Find_User(ref Laypage pager, string name, string myphone, string companycode); /// /// 获取公司信息 /// /// List Corp_Get(); List GetRoom(ref Laypage pager, string corp, string name); /// /// 修改聊天群 /// /// /// /// bool UpdateRomeName(string corp, string roomid, string roomname); /// /// 获取单个聊天群 /// /// /// /// Ww_MsgRoom GetRoom(string corp, string roomid); /// /// 获取多个信息 /// /// /// /// List GetRoomList(string corp, string roomids); /// /// 获取群,通过成员列表like /// /// /// 外部联系人ID /// List GetRoomListByChengYuan(string corp, string extendId); /// /// 获取群成员 /// /// /// /// List GetGroupUser(string corp, Ww_MsgRoom room); /// /// 初始化数据库 /// void InitDb(); /// /// 获取 组织结构列表 /// /// /// List GetDept(int roleid); /// /// 保存角色部门挂钩数据 /// /// /// /// /// bool SaveRoleDeptID(ref ValidationErrors errors, List list, int roleid); /// /// 登陆员工,获取所有可查看的部门ID /// /// /// List GetMyControlDeptId(int[] roleids); /// /// 获取自己管理的成员列表 /// /// ID /// List WorList_Get_ByCompany(int type, ref Laypage pager, string v_name, string v_corpid, string eid, List qwdeptcontrolList); /// /// 获取工号 /// /// /// /// Ww_hhuser_Eid GetHHuserEid(string userid, string corp); /// /// 修改工号 /// /// /// /// bool UpdateHHuserEid(ref ValidationErrors erros, Ww_hhuser_Eid model); } }