111 lines
3.2 KiB
C#
111 lines
3.2 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 ChargeProjectMaintainBll
|
|||
|
|
{
|
|||
|
|
public ChargeProjectMaintainDal Dal = new ChargeProjectMaintainDal();
|
|||
|
|
public List<ChargeProjectMaintainModel> GetAllList(string id, string stauts)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(id, stauts);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<ChargeProjectMaintainModel> getAddList(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.getAddList(id);
|
|||
|
|
}
|
|||
|
|
public List<ChargeProjectMaintainModel> getVList(int page, int pagesize, string key)
|
|||
|
|
{
|
|||
|
|
return Dal.getVList(page,pagesize,key);
|
|||
|
|
}
|
|||
|
|
public List<ChargeProjectMaintainModel> GetAllList2(string id, string key)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList2(id, key);
|
|||
|
|
}
|
|||
|
|
public List<ChargeProjectMaintainModel> GetAllList4(string id, string key)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList4(id, key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据id查询收费项目
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="id"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public List<ChargeProjectMaintainModel> GetAllListBytjxm(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllListBytjxm(id);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据收费项目ID查询收费项目列表
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="id"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public List<ChargeProjectMaintainModel> GetAllListBysfxmId(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllListBysfxmId(id);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public int getCount(string key)
|
|||
|
|
{
|
|||
|
|
//throw new NotImplementedException();
|
|||
|
|
return Dal.getCount(key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public int getAddCount(string key)
|
|||
|
|
{
|
|||
|
|
//throw new NotImplementedException();
|
|||
|
|
return Dal.getAddCount(key);
|
|||
|
|
}
|
|||
|
|
public int getVCount(string key)
|
|||
|
|
{
|
|||
|
|
//throw new NotImplementedException();
|
|||
|
|
return Dal.getVCount(key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据收费项目名称获取收费项目列表
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="page"></param>
|
|||
|
|
/// <param name="pagesize"></param>
|
|||
|
|
/// <param name="key"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public List<ChargeProjectMaintainModel> getList(int page, int pagesize, string key)
|
|||
|
|
{
|
|||
|
|
return Dal.getList(page, pagesize, key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<ChargeProjectMaintainModel> getAddList(int page, int pagesize, string key)
|
|||
|
|
{
|
|||
|
|
return Dal.getAddList(page, pagesize, key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object save(ChargeProjectMaintainModel cpm, ERPUser user)
|
|||
|
|
{
|
|||
|
|
return Dal.save(cpm, user);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<ChargeProjectMaintainModel> GetAllTreeList()
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllTreeList();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据id删除收费项目
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="id"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public object deCchargeProject(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.del(id);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|