tijian_tieying/web/dccdc.BLL/InfectionTestBll.cs
2025-02-20 12:14:39 +08:00

147 lines
3.4 KiB
C#

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<InfectionTestModel> GetAllDataList()
{
return dal.GetAllDataList();
}
public List<InfectionTestModel> GetDataByIdent(string ident)
{
return dal.GetDataByIdent(ident);
}
public List<InfectionTestModel> 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<InfectionTestModel> GetDataByUserID(int user_id)
{
return dal.GetDataByUserID(user_id);
}
public List<InfectionTestModel> GetDataByNamePhoneIdent(string name, string phone, int info_id)
{
return dal.GetDataByNamePhoneIdent(name, phone, info_id);
}
public List<InfectionTestModel> GetDataByID(int ID)
{
return dal.GetDataByID(ID);
}
public List<InfectionTestModel> 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<InfectionTestModel> getAllList2()
{
return dal.getAllList2();
}
public object save(InfectionTestModel model)
{
return dal.save(model);
}
public object abolishOrder(InfectionTestModel model)
{
return dal.abolishOrder(model);
}
public List<InfectionTestModel> 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();
}
}
}