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 ExamProjectMaintainBll { public ExamProjectMaintainDal Dal = new ExamProjectMaintainDal(); /// /// 根据id获取体检项目 /// /// /// public List GetAllList(string id) { return Dal.GetAllList(id); } public List GetAllList2(string id, string teamid, string personid) { return Dal.GetAllList2(id, teamid, personid); } /// /// 根据personid获取异常项目 /// /// /// /// public List GetAllList3(string id, string personid) { return Dal.GetAllList3(id, personid); } /// /// 根据personid获取其体检项目 /// /// /// /// public List GetAllList4(string id, string teamid, string personid) { return Dal.GetAllList4(id, teamid, personid); } /// /// 根据项目编号/项目名称/项目拼音编码查询 /// /// /// public List GetAllList4(string where) { return Dal.GetAllList4(where); } /// /// 根据项目名称查询 /// /// /// public List GetAllListByName(string where) { return Dal.GetAllListByName(where); } public List GetAllListByprojectid(string id) { return Dal.GetAllListByprojectid(id); } /// /// 根据体检项目查询该体检项目的检查科室 /// /// /// public List GetRooms(string ids) { return Dal.GetRooms(ids); } public List GetAllListByprojectids(string id) { return Dal.GetAllListByprojectids(id); } /// /// 根据拼音码或体检小组查询列表 /// /// /// public List GetAllBypytjxz(string groupid, string py,string name,bool status) { return Dal.GetAllBypytjxz(groupid, py,name, status); } /// /// 根据有害因素、在岗状态查询体检项目 /// 2023-11-24 xulu /// /// /// /// public List GetAllByyhys(string job_status_id, string yhys_id) { return Dal.GetAllByyhys(job_status_id, yhys_id); } /// /// 根据体检方案里的体检项目列查询明细 /// /// /// public List GetTjfnmxByIDs(string id) { return Dal.GetTjfnmxByIDs(id); } public bool Update(ExamProjectMaintainModel model) { return Dal.Update(model); } /// /// 增加体检项目 /// /// /// public List Add(ExamProjectMaintainModel model) { return Dal.Add(model); } public bool Delete(int id) { return Dal.Delete(id); } /// /// 根据person_id获取检查项目 /// 2023-11-22 xulu /// /// /// /// /// /// public List getCheckItemsByPersonId(string tjxz, string py, string name, string person_id) { return Dal.getCheckItemsByPersonId(tjxz, py, name, person_id); } /// /// 根据person_id获取打印项目 /// 2023-11-22 xulu /// /// /// public List getPrintItemsByPersonId(string person_id) { return Dal.getPrintItemsByPersonId(person_id); } /// /// 根据scheme_id获取检查项目 /// 2023-11-22 xulu /// /// /// /// /// /// public List getCheckItemsBySchemeId(string tjxz, string py, string name, string scheme_id,string check_item_ids) { return Dal.getCheckItemsBySchemeId(tjxz, py, name, scheme_id, check_item_ids); } /// /// 根据scheme_id获取打印项目 /// 2023-11-22 xulu /// /// /// public List getPrintItemsBySchemeId(string scheme_id) { return Dal.getPrintItemsBySchemeId(scheme_id); } /// /// 根据打印项目ids获取所有项目列表 /// 2023-11-22 xulu /// /// /// public object GetTjfnByPrintItemIds(string print_item_ids) { return Dal.GetTjfnByPrintItemIds(print_item_ids); } } }