93 lines
3.9 KiB
C#
93 lines
3.9 KiB
C#
using System;
|
||
using WX.CRM.DAL.WxSql;
|
||
|
||
namespace WX.CRM.BLL.WxSql
|
||
{
|
||
public class Wx_PushDataManagerBySQL_BL
|
||
{
|
||
|
||
/// <summary>
|
||
/// 插入Service
|
||
/// </summary>
|
||
/// <param name="UserName">用户名</param>
|
||
/// <param name="QRcode">二维码</param>
|
||
/// <param name="eid">工号(inneruserid)</param>
|
||
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);
|
||
}
|
||
/// <summary>
|
||
/// 插入在线信息
|
||
/// </summary>
|
||
/// <param name="UserName">微信号</param>
|
||
/// <param name="cTime">时间</param>
|
||
public void web_push_updateServiceOnlineInsert(string UserName, DateTime lasttime)
|
||
{
|
||
new Wx_PushDataManagerBySQL_DAL().web_push_updateServiceOnlineInsert(UserName, lasttime);
|
||
}
|
||
/// <summary>
|
||
/// 插入好友关系表
|
||
/// </summary>
|
||
/// <param name="Userid">客户微信号</param>
|
||
/// <param name="Service">客服微信号</param>
|
||
/// <param name="cTime">时间</param>
|
||
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);
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// 修改组别比率
|
||
/// </summary>
|
||
/// <param name="Name">组名</param>
|
||
/// <param name="GroupId">组ID</param>
|
||
/// <param name="Proportion">比率</param>
|
||
/// <param name="Isopen">是否开启</param>
|
||
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);
|
||
}
|
||
/// <summary>
|
||
/// 修改员工比率
|
||
/// </summary>
|
||
/// <param name="Eid">工号</param>
|
||
/// <param name="Name">名称</param>
|
||
/// <param name="GroupId">组ID</param>
|
||
/// <param name="Proportion">比率</param>
|
||
/// <param name="Isopen">是否开启</param>
|
||
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);
|
||
}
|
||
/// <summary>
|
||
/// 修改订单
|
||
/// </summary>
|
||
/// <param name="phone">手机号(MD5加密 手机号+'hc.pj.2017')</param>
|
||
/// <param name="productid"></param>
|
||
/// <param name="startTime"></param>
|
||
/// <param name="endTime"></param>
|
||
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);
|
||
}
|
||
/// <summary>
|
||
/// 有效回复数修改
|
||
/// </summary>
|
||
/// <param name="pici"></param>
|
||
public void web_push_UpdateUserByReplycount(decimal pici)
|
||
{
|
||
new Wx_PushDataManagerBySQL_DAL().web_push_UpdateUserByReplycount(pici);
|
||
}
|
||
/// <summary>
|
||
/// 用户比例修改
|
||
/// </summary>
|
||
/// <param name="pici"></param>
|
||
public void web_push_UpdateUserPercent(decimal pici)
|
||
{
|
||
new Wx_PushDataManagerBySQL_DAL().web_push_UpdateUserPercent(pici);
|
||
}
|
||
}
|
||
|
||
}
|