using System;
using System.Data;
using WX.CRM.Common;
namespace WX.CRM.IBLL.TS
{
public interface IWX_TSADDFRIEND
{
///
/// 获取可以推送的工作微信号
///
/// 用户ID
///
DataTable GetCanSendWorkAlias(decimal v_userid);
///
/// 获取资源
///
/// 批次号
///
DataTable GetTsAddFriendRes(decimal pici);
///
/// 获取批次信息
///
///
DataTable GetTsSendPici();
bool UpdateSendResStutas(string v_alias, decimal v_pici, DateTime v_senddate, decimal v_stutas, string v_msg);
bool AddFriendRelation(string v_jobusername, string v_username, string v_resid, DateTime v_createtime);
///
/// 获取资源by cookie
///
///
DataTable GetResByCookiResid(string resids);
///
/// 获取验证的不通过的客户ID
///
///
DataTable GetCheckErroRes(string resids);
///
/// 获取最新的触动精灵脚本
///
///
DataTable GetNewestScriptVersion();
///
///
///
///
///
///
///
///
///
bool CreatePici(string v_resid, string v_alias, string v_helloMsg, int v_timeType, string v_exe_date, string v_exe_time, ref ValidationErrors errors);
///
/// 上传并修 执行状态
///
///
///
///
///
///
///
///
bool UpdatePiciExecStatus(long v_pici, int? v_isStart, DateTime? v_startTime, int? v_isEnd, DateTime? v_endTime, string v_erromsg, ref ValidationErrors errors);
bool AddFriendPiciLog(string v_alias, string v_resid, decimal v_eid, decimal v_pici, decimal v_state, string v_remark, long v_zitime, DateTime v_zdtime);
///
/// 白板资源申请
///
/// 工作微信号
/// 打招呼内容
/// 时间类型
/// 年月日
/// 时分秒
/// 资源数
/// 工号
///
///
bool WhiteResApply(string v_alias, string v_helloMsg, int v_timeType, string v_exe_date, string v_exe_time, int v_rescount, decimal v_eid, int dept, ref ValidationErrors errors);
DataTable ResLogReport(Decimal v_eid, string v_alias, ref Pager pager);
///
/// 工作微信加人日志查询
///
///
///
///
///
DataTable ResLogReport_Manager(Decimal v_eid, string v_alias, ref Pager pager);
///
/// 加人日志查询 详细查询
///
/// 工号
///
DataTable ResLogReport_Detial(Decimal v_pici);
///
/// 是否可以作为推送
///
///
///
bool IsCanSend(string v_resid);
}
}