ComplianceServer/oldcode/BLL/Wx/WX_SZZYORDER_REFUND_BL.cs

67 lines
2.5 KiB
C#

using System;
using System.Collections.Generic;
using WX.CRM.IBLL.Wx;
using WX.CRM.Model.Entity;
using WX.CRM.Model.QueryMap;
namespace WX.CRM.BLL.Wx
{
public class WX_SZZYORDER_REFUND_BL : DbContextRepository<WX_SZZYORDER_REFUND>, IWX_SZZYORDER_REFUND
{
public List<SzzyRefundView> GetUserRefund(decimal? szzyOrderId, decimal? innerUserId, decimal? gId, DateTime? yearmonth)
{
return new DAL.Wx.WX_SZZYORDER_DAL().GetUserRefund(szzyOrderId, innerUserId, gId, yearmonth);
}
public List<SzzyRefundView> GetUserRefundThree(decimal? szzyOrderId, decimal? innerUserId, decimal? gId, DateTime? yearmonth)
{
return new DAL.Wx.WX_SZZYORDER_DAL().GetUserRefundThree(szzyOrderId, innerUserId, gId, yearmonth);
}
public List<SzzyRefundView> GetGrouperRefund(decimal? gId, DateTime? yearmonth, decimal? eid)
{
return new DAL.Wx.WX_SZZYORDER_DAL().GetGrouperRefund(gId, yearmonth, eid);
}
public List<SzzyRefundView> GetGrouperRefundThree(decimal? gId, DateTime? yearmonth, decimal? eid)
{
return new DAL.Wx.WX_SZZYORDER_DAL().GetGrouperRefundThree(gId, yearmonth, eid);
}
public List<SzzyRefundMonthView> GetOrderRefund()
{
return new DAL.Wx.WX_SZZYORDER_DAL().GetOrderRefund();
}
public List<SzzyRefundMonthView> GetOrderRefundThree()
{
return new DAL.Wx.WX_SZZYORDER_DAL().GetOrderRefundThree();
}
public List<SzzyRefundDetailMonthView> GetOrderRefundDetail(decimal? gId, DateTime? yearmonth, decimal? eid, decimal? isacturalrefund = null)
{
return new DAL.Wx.WX_SZZYORDER_DAL().GetOrderRefundDetail(gId, yearmonth, eid, isacturalrefund);
}
public List<SzzyRefundDetailMonthView> GetOrderRefundDetailThree(decimal? gId, DateTime? yearmonth, decimal? eid)
{
return new DAL.Wx.WX_SZZYORDER_DAL().GetOrderRefundDetailThree(gId, yearmonth, eid);
}
/// <summary>
/// 修改客户名称的时候顺便修改订单里面的名称
/// </summary>
public void updateSzzyOrderCname(string resid, string cname)
{
new DAL.Wx.WX_SZZYORDER_DAL().updateSzzyOrderCname(resid, cname);
}
/// <summary>
/// 修改资源是否为线下资源
/// </summary>
public void UpdateResIsTuiGuang(string resid, decimal orderid)
{
new DAL.Wx.WX_SZZYORDER_DAL().UpdateResIsTuiGuang(resid, orderid);
}
}
}