116 lines
4.8 KiB
C#
116 lines
4.8 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Data;
|
||
using WX.CRM.Common;
|
||
using WX.CRM.Model.Entity;
|
||
using WX.CRM.Model.MAP;
|
||
using WX.CRM.Model.QueryMap;
|
||
|
||
namespace WX.CRM.IBLL.Wx
|
||
{
|
||
public interface IWX_WORKACCOUNT : IRepository<WX_WORKACCOUNT>
|
||
{
|
||
/// <summary>
|
||
/// 工作微信管理
|
||
/// </summary>
|
||
/// <param name="page"></param>
|
||
/// <param name="userName"></param>
|
||
/// <param name="alias"></param>
|
||
/// <param name="conRemark"></param>
|
||
/// <param name="nickName"></param>
|
||
/// <param name="resID"></param>
|
||
/// <param name="isValid"></param>
|
||
/// <param name="innerUserId"></param>
|
||
/// <param name="stime"></param>
|
||
/// <param name="etime"></param>
|
||
/// <returns></returns>
|
||
List<WX_WORKACCOUNT> GetList(ref Pager page, string userName, string alias, string conRemark, string nickName, string resID, decimal[] isValids, decimal innerUserId, string stime, string etime);
|
||
|
||
/// <summary>
|
||
/// 我的工作微信
|
||
/// </summary>
|
||
/// <param name="page"></param>
|
||
/// <param name="userName"></param>
|
||
/// <param name="alias"></param>
|
||
/// <param name="conRemark"></param>
|
||
/// <param name="nickName"></param>
|
||
/// <param name="resID"></param>
|
||
/// <param name="groupId"></param>
|
||
/// <param name="userId"></param>
|
||
/// <param name="stime"></param>
|
||
/// <param name="etime"></param>
|
||
/// <returns></returns>
|
||
List<WX_WORKACCOUNT> GetList(ref Pager page, string userName, string alias, string conRemark, string nickName, string resID, decimal? groupId, decimal? userId, decimal? isValid, string stime, string etime);
|
||
|
||
List<WxWorkAccountView> GetAll(string[] userNames, string alias, string conRemark, string nickName, string resID, string groupId, decimal? userId, decimal? isValid, string stime, string etime, int isDismiss);
|
||
List<WX_WORKACCOUNT> GetMyWorkAccountList(decimal userId);
|
||
|
||
bool Update(ref ValidationErrors errors, string alias, string resID, string qrCodeUrl, decimal innerUserId, decimal? quantity, out decimal workAccountPkId);
|
||
|
||
bool WxUserBindToInnerUser(decimal innerUserId, decimal workAccountPkId, string alias, string startDate, DateTime ctime, out string errmsg);
|
||
|
||
List<WX_WORKACCOUNT_ALIVE> GetAliveList(decimal?[] isValids);
|
||
|
||
/// <summary>
|
||
/// 通过工作微信获取
|
||
/// </summary>
|
||
/// <param name="workusername"></param>
|
||
/// <returns></returns>
|
||
List<WX_WorkRCONTACT> GetRcontactList(string workusername, string column, string sort);
|
||
|
||
|
||
|
||
/// <summary>
|
||
/// 通过工作微信获取
|
||
/// </summary>
|
||
/// <param name="workusername"></param>
|
||
/// <returns></returns>
|
||
List<Wx_WorkGroupRcontact> GetGroupsByWorkAccount(string workusername, string column, string sort);
|
||
|
||
WX_WORKACCOUNT GetWorAccount(string worusername);
|
||
|
||
bool EveryDayManualPauseHandle(out string errmsg);
|
||
|
||
bool EveryDaySystemPauseHandle(out string errmsg);
|
||
|
||
List<WxResourceReport> GetWxResourceReport(QueryUserComboDto usercomboDto, DateTime sTime, DateTime eTime, decimal curMonth, decimal? resType, DateTime? cjTime1, DateTime? cjTime2);
|
||
List<OrderResourceReport> GetOrderResourceReport(DateTime sTime, DateTime eTime);
|
||
WxResourceDay GetWxResourceDay(DateTime sTime, DateTime eTime);
|
||
void GenWxResourceCount();
|
||
|
||
DataTable GetWorkAccountBindByInnerUserId(decimal innerUserId);
|
||
|
||
List<WX_WORKACCOUNT_ALIVE> Get24HoursNoWeixinFriendAliveList(List<string> weixinList);
|
||
|
||
List<string> Get24HoursNoWeixinFriend();
|
||
|
||
int GetWeiXinPauseTime(string alias);
|
||
|
||
List<WxWorkAccountView> GetWorkAccountAllList(int isDismiss, decimal? groupId);
|
||
List<TMP_DANGSAN_DATA_REPORT> GetUserWorkStatistics(Pager pager, List<decimal> userId, DateTime Stime, DateTime Etime, bool hideQuit);
|
||
List<UserWorkReport3View> GetMediareport(Pager pager, List<decimal> userId,int deptid,string uname,string eid, DateTime Stime, DateTime Etime, bool hideQuit);
|
||
|
||
List<string> GetAllVersion();
|
||
|
||
DataTable UpdateAliasFengHao(string v_alias, int v_isFenghao);
|
||
|
||
/// <summary>
|
||
/// 获取db上传位置
|
||
/// </summary>
|
||
/// <param name="v_username"></param>
|
||
/// <returns></returns>
|
||
WX_UPLOADMAXCREATETIME GetUploadMaxCreateTime(string v_username);
|
||
|
||
/// <summary>
|
||
/// 手动修改上传位置
|
||
/// </summary>
|
||
/// <param name="username"></param>
|
||
/// <param name="type">1:普通消息 2:群发助手消息</param>
|
||
/// <param name="time"></param>
|
||
/// <returns></returns>
|
||
bool UpdateUpdateMaxCreateTime(string username, int type, DateTime time);
|
||
|
||
|
||
}
|
||
}
|