58 lines
2.1 KiB
C#
58 lines
2.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using WX.CRM.Common;
|
|
using WX.CRM.DAL.Wx;
|
|
using WX.CRM.IBLL.Wx;
|
|
using WX.CRM.Model.QueryMap;
|
|
|
|
namespace WX.CRM.BLL.Wx
|
|
{
|
|
public class WX_HONGBAO_BL : IWX_HONGBAO
|
|
{
|
|
/// <summary>
|
|
/// 群维护
|
|
/// </summary>
|
|
/// <param name="v_chatroomname"></param>
|
|
/// <param name="v_name"></param>
|
|
/// <param name="v_ROOMOWNER"></param>
|
|
/// <param name="v_createtime"></param>
|
|
public bool WxHongBao(string v_sendid, string v_msgsvrid, string v_talker, string v_sendusername, decimal v_type, DateTime v_createtime, string v_title, string v_chatroomname, string v_jobusername)
|
|
{
|
|
return new WX_HONGBAO_DAL().WxHongBao(v_sendid, v_msgsvrid, v_talker, v_sendusername, v_type, v_createtime, v_title, v_chatroomname, v_jobusername);
|
|
}
|
|
/// <summary>
|
|
/// 群成员维护
|
|
/// </summary>
|
|
/// <param name="v_chatroomname"></param>
|
|
/// <param name="v_name"></param>
|
|
/// <param name="v_ROOMOWNER"></param>
|
|
/// <param name="v_createtime"></param>
|
|
public bool WxHongBaoReceuve(string v_sendid, string v_msgsvrid, string v_username, DateTime v_createtime, string v_jobusername)
|
|
{
|
|
return new WX_HONGBAO_DAL().WxHongBaoReceuve(v_sendid, v_msgsvrid, v_username, v_createtime, v_jobusername);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 显示红包
|
|
/// </summary>
|
|
/// <param name="v_username"></param>
|
|
/// <returns></returns>
|
|
public DataTable ShowWxHongBao(string v_username, decimal? v_eid, DateTime? stime, DateTime? etime)
|
|
{
|
|
return new WX_HONGBAO_DAL().ShowWxHongBao(v_username, v_eid, stime, etime);
|
|
}
|
|
|
|
public IList<WxIllegalreCodeNoticeModel> GetHonBaoNotice()
|
|
{
|
|
return new WX_HONGBAO_DAL().GetHonBaoNotice().ToList<WxIllegalreCodeNoticeModel>();
|
|
}
|
|
|
|
public bool UpdateHongBaoLookStatus(decimal eid)
|
|
{
|
|
return new WX_HONGBAO_DAL().UpdateHongBaoLookStatus(eid);
|
|
}
|
|
}
|
|
}
|