67 lines
1.6 KiB
C#
67 lines
1.6 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 MedicalSchemeMaintainBll
|
|
{
|
|
public MedicalSchemeMaintainDal Dal = new MedicalSchemeMaintainDal();
|
|
public List<MedicalSchemeMaintainModel> GetAllTreeList()
|
|
{
|
|
return Dal.GetAllTreeList();
|
|
}
|
|
|
|
public MedicalSchemeMaintainModel GetmodelByName(string name)
|
|
{
|
|
return Dal.GetmodelByName(name);
|
|
}
|
|
|
|
public List<MedicalSchemeMaintainModel> GetAllList()
|
|
{
|
|
return Dal.GetAllList();
|
|
}
|
|
public List<MedicalSchemeMaintainModel> GetAllListByCrowd()
|
|
{
|
|
return Dal.GetAllListByCrowd();
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 根据id获取体检方案列表
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
public List<MedicalSchemeMaintainModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
|
|
public bool Add(MedicalSchemeMaintainModel model)
|
|
{
|
|
|
|
return Dal.Add(model);
|
|
}
|
|
|
|
public bool Update(MedicalSchemeMaintainModel model)
|
|
{
|
|
return Dal.Update(model);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 根据id删除体检方案
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
/// <exception cref="NotImplementedException"></exception>
|
|
public object delTjfangan(string id)
|
|
{
|
|
return Dal.del(id);
|
|
}
|
|
}
|
|
}
|