54 lines
1.4 KiB
C#
54 lines
1.4 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using dccdc.DAL;
|
|||
|
|
using dccdc.Models;
|
|||
|
|
|
|||
|
|
namespace dccdc.BLL
|
|||
|
|
{
|
|||
|
|
public class ChargeMethodMaintainBll
|
|||
|
|
{
|
|||
|
|
public ChargeMethodMaintainDal Dal = new ChargeMethodMaintainDal();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据id删除收费方式
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="id"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public object delChargeMethod(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.del(id);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<ChargeMethodMaintainModel> GetAllList(string id,string stauts)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(id,stauts);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public int getCount(string key)
|
|||
|
|
{
|
|||
|
|
//throw new NotImplementedException();
|
|||
|
|
return Dal.getCount(key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据收费方式名称获取收费方式列表
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="page"></param>
|
|||
|
|
/// <param name="pagesize"></param>
|
|||
|
|
/// <param name="key"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public List<ChargeMethodMaintainModel> getList(int page, int pagesize, string key)
|
|||
|
|
{
|
|||
|
|
return Dal.getList(page, pagesize, key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object save(ChargeMethodMaintainModel cpm, ERPUser user)
|
|||
|
|
{
|
|||
|
|
return Dal.save(cpm, user);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|