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 MedicalSchemeMaintainBll { public MedicalSchemeMaintainDal Dal = new MedicalSchemeMaintainDal(); public List GetAllTreeList() { return Dal.GetAllTreeList(); } public MedicalSchemeMaintainModel GetmodelByName(string name) { return Dal.GetmodelByName(name); } public List GetAllList() { return Dal.GetAllList(); } public List GetAllListByCrowd() { return Dal.GetAllListByCrowd(); } /// /// 根据id获取体检方案列表 /// /// /// public List GetAllList(string id) { return Dal.GetAllList(id); } public bool Add(MedicalSchemeMaintainModel model) { return Dal.Add(model); } public bool Update(MedicalSchemeMaintainModel model) { return Dal.Update(model); } /// /// 根据id删除体检方案 /// /// /// /// public object delTjfangan(string id) { return Dal.del(id); } } }