using System;
using System.Collections.Generic;
using System.Data;
using WX.CRM.Common;
using WX.CRM.Model.DTO;
using WX.CRM.Model.MAP;
namespace WX.CRM.IBLL.TS
{
public interface IWX_TS_BATCHMSG
{
///
/// 获取 工作微信好友列表(用于消息助手,好友选择)
///
///
///
///
///
///
///
///
///
///
List GetRcontactByJobusername(string v_jobusername, string v_username, string v_alias, string v_nickname, DateTime? v_stime, DateTime? v_etime, int v_rtype, int isnofriend, string v_column, string v_sort);
///
/// 提交发送批次
///
/// Rcontact的pkid集合
/// 工作微信号
/// 发送内容
/// 时间类型
/// 执行日期
/// 执行时间
/// 错误信息
///
bool CreateBatchPici(string v_rid, string v_alias, string v_sendMsg, int v_timeType, string v_exe_date, string v_exe_time, ref ValidationErrors errors);
///
/// 获取推送批次
///
///
DataTable GetTsMsgSendPici();
///
/// 根据批次获取详细数据
///
/// 批次
///
DataTable GetTsMsgDetailByPici(decimal pici);
///
/// 修改批次推送状态
///
/// 批次
/// 时间
/// 状态
/// 推送结果
///
bool UpdateSendMsgStutas(decimal v_pici, DateTime v_senddate, decimal v_stutas, string v_msg);
///
/// 上传执行日志
///
/// 日志信息
void BatchMsgLogUP(batchmsg info, ref ValidationErrors errors);
///
/// 加人日志查询
///
/// 工号
/// 微信号
/// 分页信息
///
DataTable BatchMsgLogReport(Decimal v_eid, string v_alias, ref Pager pager);
///
/// 批量详细详细日志
///
///
///
DataTable LogReport_Detial(Decimal v_pici, string v_key);
///
/// 添加拉黑好友
///
///
///
bool AddBlackFriend(string v_jobusername, string v_username);
}
}