58 lines
1.5 KiB
C#
58 lines
1.5 KiB
C#
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 ExamGroupPreposeConditionMaintainBll
|
|
{
|
|
public ExamGroupPreposeConditionMaintainDal dal = new ExamGroupPreposeConditionMaintainDal();
|
|
|
|
public ExamGroupPreposeConditionMaintainModel Getmodel(string id)
|
|
{
|
|
return dal.Getmodel(id);
|
|
}
|
|
|
|
public bool Update(ExamGroupPreposeConditionMaintainModel model)
|
|
{
|
|
return dal.Update(model);
|
|
}
|
|
|
|
public bool Add(ExamGroupPreposeConditionMaintainModel model)
|
|
{
|
|
return dal.Add(model);
|
|
}
|
|
|
|
public int getCount(string key)
|
|
{
|
|
return dal.getCount(key);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 根据小组名称获取体检小组和前置条件列表
|
|
/// </summary>
|
|
/// <param name="page"></param>
|
|
/// <param name="pagesize"></param>
|
|
/// <param name="key"></param>
|
|
/// <returns></returns>
|
|
public List<ExamGroupPreposeConditionMaintainModel> getList(int page, int pagesize, string key)
|
|
{
|
|
return dal.getList(page, pagesize, key);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 根据id删除体检小组前置
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
public object delGroupPre(string id)
|
|
{
|
|
return dal.del(id);
|
|
}
|
|
}
|
|
}
|