49 lines
1.3 KiB
C#
49 lines
1.3 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 ExamProjectResultMaintainBll
|
|||
|
|
{
|
|||
|
|
public ExamProjectResultMaintainDal Dal = new ExamProjectResultMaintainDal();
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据体检项查询下面结果
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="id"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public List<ExamProjectResultMaintainModel> GetAllList(int page, int pagesize, string id)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(page, pagesize,id);
|
|||
|
|
}
|
|||
|
|
public int getCount(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.getCount(id);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据主键查询结果明细
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="id"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public List<ExamProjectResultMaintainModel> GetAllListById(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllListById(id);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public bool Update(ExamProjectResultMaintainModel model)
|
|||
|
|
{
|
|||
|
|
return Dal.Update(model);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public bool Add(ExamProjectResultMaintainModel model)
|
|||
|
|
{
|
|||
|
|
return Dal.Add(model);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|