using System;
using System.Data;
using WX.CRM.Common;
using WX.CRM.DAL.TS;
using WX.CRM.IBLL.TS;
namespace WX.CRM.BLL.TS
{
public class WX_TS_CMD_BL : IWX_TS_CMD
{
///
/// 提交发送朋友圈
///
/// 内容
/// 推送类型
/// 时间
/// 日期
///
///
public bool CreateFriendscircle(string v_txt, int v_timeType, string v_exe_date, string v_exe_time, string v_imgpath, ref ValidationErrors errors)
{
return new WX_TS_CMD_DAL().CreateFriendscircle(v_txt, v_timeType, v_exe_date, v_exe_time, v_imgpath, ref errors);
}
///
/// 获取可推送cmd
///
///
public DataTable GetCmdPici()
{
return new WX_TS_CMD_DAL().GetCmdPici();
}
///
/// 获取图片内容
///
/// 批次号
///
public DataTable GetFriendScircleImgList(decimal pici)
{
return new WX_TS_CMD_DAL().GetFriendScircleImgList(pici);
}
///
/// 修改批次推送状态
///
/// 批次
/// 发送时间
/// 状态
/// 推送返回的消息
///
///
public bool UpdateSendStutas(decimal v_pici, DateTime v_senddate, int v_stutas, string v_msg, ref ValidationErrors errors)
{
return new WX_TS_CMD_DAL().UpdateSendStutas(v_pici, v_senddate, v_stutas, v_msg, ref errors);
}
///
/// 发送朋友圈日志
///
///
///
///
///
///
public DataTable GetFirneScirccleLog(DateTime? stime, DateTime? etime, string v_alias, ref Pager pager)
{
return new WX_TS_CMD_DAL().GetFirneScirccleLog(stime, etime, v_alias, ref pager);
}
///
/// 获取朋友圈内容
///
///
///
public DataTable GetFriendScircleTxtByPici(decimal pici)
{
return new WX_TS_CMD_DAL().GetFriendScircleTxtByPici(pici);
}
}
}