using dccdc.DAL; using dccdc.Models; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace dccdc.BLL { public class InfectionTestBll { private InfectionTestDal dal = new InfectionTestDal(); public List GetAllDataList() { return dal.GetAllDataList(); } public List GetDataByIdent(string ident) { return dal.GetDataByIdent(ident); } public List GetNoticsList() { return dal.GetNoticsList(); } public string SaveData(InfectionTestModel model,int user_id) { return dal.SaveData(model,user_id); } public string ModifyDataByID(InfectionTestModel model) { return dal.ModifyDataByID(model); } public string AbolishOrder(InfectionTestModel model) { return dal.AbolishOrder(model); } public List GetDataByUserID(int user_id) { return dal.GetDataByUserID(user_id); } public List GetDataByNamePhoneIdent(string name, string phone, int info_id) { return dal.GetDataByNamePhoneIdent(name, phone, info_id); } public List GetDataByID(int ID) { return dal.GetDataByID(ID); } public List getAllList(string pageSize, string page, string start, string end) { return dal.getAllList(pageSize, page, start, end); } public int getCount(string start, string end) { return dal.getCount(start, end); } public int getCountids(string ids) { return dal.getCountids(ids); } public InfectionTestModel getOne(string id) { return dal.getOne(id); } public List getAllList2() { return dal.getAllList2(); } public object save(InfectionTestModel model) { return dal.save(model); } public object abolishOrder(InfectionTestModel model) { return dal.abolishOrder(model); } public List export(string start,string end) { return dal.export(start,end); } public bool checkUserState(int info_id) { return dal.checkUserState(info_id); } public InfectionTestModel getLastTestData(int info_id) { return dal.getLastTestData(info_id); } public InfectionTestModel getDataByMaId(int ma_id) { return dal.getDataByMaId(ma_id); } public void UpdateSendMsgFlg(int id) { dal.UpdateSendMsgFlg(id); return; } public void UpdateTestState(int ma_id) { dal.UpdateTestState(ma_id); return; } public int getMonthOne() { return dal.getMonthOne(); } public int getMonthTwo() { return dal.getMonthTwo(); } public int getAllOne() { return dal.getAllOne(); } public int getAllTwo() { return dal.getAllTwo(); } } }