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_hhuser_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);
///
/// 根据客户ID获取所有关系客服
///
/// ID
///
List Extuser_GetAllUser(string exuserids, string companycode = null);
List Extuser_GetAllUser_check(string exuserids, string companycode = null);
///
/// 获取外部联系人列表
///
///
///
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