189 lines
5.3 KiB
C#
189 lines
5.3 KiB
C#
using dccdc.DAL;
|
|
using dccdc.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace dccdc.BLL
|
|
{
|
|
public class InfectionOpenUserInfoBll
|
|
{
|
|
public InfectionOpenUserInfoDal dal = new InfectionOpenUserInfoDal();
|
|
|
|
public List<InfectionOpenUserInfoModel> GetAllDataList()
|
|
{
|
|
return dal.GetAllDataList();
|
|
}
|
|
|
|
public List<InfectionOpenUserInfoModel> GetDataListByIdent(string ident)
|
|
{
|
|
return dal.GetDataListByIdent(ident);
|
|
}
|
|
public List<InfectionOpenUserInfoModel> GetDataListByReferee(string referee)
|
|
{
|
|
return dal.GetDataListByReferee(referee);
|
|
}
|
|
|
|
public List<InfectionOpenUserInfoModel> GetDataListNotType()
|
|
{
|
|
return dal.GetDataListNotType();
|
|
}
|
|
|
|
public bool SaveData(InfectionOpenUserInfoModel model)
|
|
{
|
|
return dal.SaveData(model);
|
|
}
|
|
|
|
public bool ModifyDataByUserID(InfectionOpenUserInfoModel model)
|
|
{
|
|
return dal.ModifyDataByUserID(model);
|
|
}
|
|
|
|
public List<InfectionOpenUserInfoModel> GetDataListByNamePhoneIdent(string name, string phone, string ident)
|
|
{
|
|
return dal.GetDataListByNamePhoneIdent(name, phone, ident);
|
|
}
|
|
|
|
public List<InfectionOpenUserInfoModel> GetDataListByID(string ID)
|
|
{
|
|
return dal.GetDataListByID(ID);
|
|
}
|
|
|
|
public List<InfectionOpenUserInfoModel> GetDataListByUserID(int user_id)
|
|
{
|
|
return dal.GetDataListByUserID(user_id);
|
|
}
|
|
|
|
public List<InfectionOpenUserInfoModel> GetAllHangIntheAirQuestion()
|
|
{
|
|
return dal.GetAllHangIntheAirQuestion();
|
|
}
|
|
|
|
public string AuditInformation(string id, string type, string cancel_reason,string oa_id,string pass_time)
|
|
{
|
|
return dal.AuditInformation(id, type, cancel_reason,oa_id, pass_time);
|
|
}
|
|
|
|
public string JudgementCode(string recommend)
|
|
{
|
|
return dal.JudgementCode(recommend);
|
|
}
|
|
|
|
|
|
public int getDataCount(string name, string ident)
|
|
{
|
|
return dal.getDataCount(name, ident);
|
|
}
|
|
|
|
public List<InfectionOpenUserInfoModel> getCheckQuestionnaireList(int page, int pagesize, string name, string ident)
|
|
{
|
|
return dal.getCheckQuestionnaireList(page, pagesize, name, ident);
|
|
}
|
|
|
|
public List<InfectionOpenUserInfoModel> getList(int page, int pagesize, string name, string unit, string phone, string pass_by)
|
|
{
|
|
return dal.getList(page, pagesize, name, unit, phone, pass_by);
|
|
}
|
|
|
|
public List<InfectionOpenUserInfoModel> getAllList(int page, int pagesize, string name, string unit, string phone, string ident)
|
|
{
|
|
return dal.getAllList(page, pagesize, name, unit, phone, ident);
|
|
}
|
|
|
|
public int getCounts(string name, string unit, string phone, string ident)
|
|
{
|
|
return dal.getCounts(name, unit, phone, ident);
|
|
}
|
|
|
|
public int getCount(string name, string unit, string phone, string pass_by)
|
|
{
|
|
return dal.getCount(name, unit, phone, pass_by);
|
|
}
|
|
|
|
public InfectionOpenUserInfoModel getOne(string id)
|
|
{
|
|
return dal.getOne(id);
|
|
}
|
|
|
|
public InfectionOpenUserInfoModel getOne2(string id)
|
|
{
|
|
return dal.getOne2(id);
|
|
}
|
|
public object updateType(string id, string type, string reason, string pass_by, string createTime)
|
|
{
|
|
return dal.updateType(id, type, reason, pass_by, createTime);
|
|
}
|
|
|
|
public object save(InfectionOpenUserInfoModel model)
|
|
{
|
|
return dal.save(model);
|
|
}
|
|
public int Add(InfectionOpenUserInfoModel model)
|
|
{
|
|
return dal.Add(model);
|
|
}
|
|
|
|
public List<InfectionOpenUserInfoModel> GetDataAllByState()
|
|
{
|
|
return dal.GetDataAllByState();
|
|
}
|
|
|
|
public List<InfectionOpenUserInfoModel> GetDataListNameUnitPhone(string name, string unit, string phone)
|
|
{
|
|
return dal.GetDataListNameUnitPhone(name, unit, phone);
|
|
}
|
|
|
|
public InfectionOpenUserInfoModel GetInfoByIdent(string ident)
|
|
{
|
|
return dal.getInfoByIdent(ident);
|
|
}
|
|
|
|
public InfectionOpenUserInfoModel findById(int id)
|
|
{
|
|
return dal.findById(id);
|
|
}
|
|
|
|
public InfectionOpenUserInfoModel findByUserId(int user_id)
|
|
{
|
|
return dal.findByUserId(user_id);
|
|
}
|
|
|
|
public List<InfectionOpenUserModel> getOaIdById(string oa_id)
|
|
{
|
|
return dal.getOaIdById(oa_id);
|
|
}
|
|
|
|
public int UpdateRecommendStateById(string id)
|
|
{
|
|
return dal.UpdateRecommendStateById(id);
|
|
}
|
|
|
|
public int getMonthPass()
|
|
{
|
|
return dal.getMonthPass();
|
|
}
|
|
|
|
public int getMonthRefuse()
|
|
{
|
|
return dal.getMonthRefuse();
|
|
}
|
|
|
|
public int getAllPass()
|
|
{
|
|
return dal.getAllPass();
|
|
}
|
|
|
|
public int getAllRefuse()
|
|
{
|
|
return dal.getAllRefuse();
|
|
}
|
|
|
|
public int getDataCount(int user_id)
|
|
{
|
|
return dal.getDataCount(user_id);
|
|
}
|
|
}
|
|
}
|