using System;
using WX.CRM.DAL.WxSql;
namespace WX.CRM.BLL.WxSql
{
public class Wx_PushDataManagerBySQL_BL
{
///
/// 插入Service
///
/// 用户名
/// 二维码
/// 工号(inneruserid)
public void web_push_updateserviceInsert(string UserName, string QRcode, string eid, int IsDel, decimal OfflineRate, int deptId)
{
new Wx_PushDataManagerBySQL_DAL().web_push_updateserviceInsert(UserName, QRcode, eid, IsDel, OfflineRate, deptId);
}
///
/// 插入在线信息
///
/// 微信号
/// 时间
public void web_push_updateServiceOnlineInsert(string UserName, DateTime lasttime)
{
new Wx_PushDataManagerBySQL_DAL().web_push_updateServiceOnlineInsert(UserName, lasttime);
}
///
/// 插入好友关系表
///
/// 客户微信号
/// 客服微信号
/// 时间
public void web_push_updateUserInsert(string Userid, string Service, DateTime datetime, int type, int deptId)
{
new Wx_PushDataManagerBySQL_DAL().web_push_updateUserInsert(Userid, Service, datetime, type, deptId);
}
///
/// 修改组别比率
///
/// 组名
/// 组ID
/// 比率
/// 是否开启
public void web_push_updateGroupUpdate(string Name, string GroupId, decimal Proportion, int Isopen, int deptId)
{
new Wx_PushDataManagerBySQL_DAL().web_push_updateGroupUpdate(Name, GroupId, Proportion, Isopen, deptId);
}
///
/// 修改员工比率
///
/// 工号
/// 名称
/// 组ID
/// 比率
/// 是否开启
public void web_push_updateEmployeeUpdate(string Eid, string Name, string GroupId, decimal Proportion, int Isopen, string userid, int deptId)
{
new Wx_PushDataManagerBySQL_DAL().web_push_updateEmployeeUpdate(Eid, Name, GroupId, Proportion, Isopen, userid, deptId);
}
///
/// 修改订单
///
/// 手机号(MD5加密 手机号+'hc.pj.2017')
///
///
///
public void web_push_updateUserRightsUpdate(string eid, string userid, string phone, string productid, decimal price, DateTime startTime, DateTime endTime, int deptId, decimal szzyOrderId, string dept, int orderstatus)
{
new Wx_PushDataManagerBySQL_DAL().web_push_updateUserRightsUpdate(eid, userid, phone, productid, price, startTime, endTime, deptId, szzyOrderId, dept, orderstatus);
}
///
/// 有效回复数修改
///
///
public void web_push_UpdateUserByReplycount(decimal pici)
{
new Wx_PushDataManagerBySQL_DAL().web_push_UpdateUserByReplycount(pici);
}
///
/// 用户比例修改
///
///
public void web_push_UpdateUserPercent(decimal pici)
{
new Wx_PushDataManagerBySQL_DAL().web_push_UpdateUserPercent(pici);
}
}
}