48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
using dccdc.DAL;
|
|
using dccdc.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace dccdc.BLL
|
|
{
|
|
public class charge_refundBll
|
|
{
|
|
public charge_refundDal Dal = new charge_refundDal();
|
|
public int getCount(string key)
|
|
{
|
|
return Dal.getCount(key);
|
|
}
|
|
|
|
public List<charge_refundModel> getList(int page, int pagesize, string key)
|
|
{
|
|
return Dal.getList(page, pagesize, key);
|
|
}
|
|
|
|
public List<charge_refundModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
public List<charge_refundModel> GetAllList2(string start, string end, string where)
|
|
{
|
|
return Dal.GetAllList2(start, end, where);
|
|
}
|
|
public List<charge_refund_detailModel> GetChild(string pid)
|
|
{
|
|
return Dal.GetChild(pid);
|
|
}
|
|
|
|
public object save(charge_refundModel ct)
|
|
{
|
|
return Dal.save(ct);
|
|
}
|
|
|
|
public object refund(string id, ERPUser user)
|
|
{
|
|
return Dal.refund(id, user);
|
|
}
|
|
}
|
|
}
|