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 GetAllList(string id, string stauts) { return Dal.GetAllList(id, stauts); } public List getAddList(string id) { return Dal.getAddList(id); } public List getVList(int page, int pagesize, string key) { return Dal.getVList(page,pagesize,key); } public List GetAllList2(string id, string key) { return Dal.GetAllList2(id, key); } public List GetAllList4(string id, string key) { return Dal.GetAllList4(id, key); } /// /// 根据id查询收费项目 /// /// /// public List GetAllListBytjxm(string id) { return Dal.GetAllListBytjxm(id); } /// /// 根据收费项目ID查询收费项目列表 /// /// /// public List 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); } /// /// 根据收费项目名称获取收费项目列表 /// /// /// /// /// public List getList(int page, int pagesize, string key) { return Dal.getList(page, pagesize, key); } public List 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 GetAllTreeList() { return Dal.GetAllTreeList(); } /// /// 根据id删除收费项目 /// /// /// public object deCchargeProject(string id) { return Dal.del(id); } } }