using System;
using System.Collections.Generic;
using dccdc.DAL;
using dccdc.Models;
namespace dccdc.BLL
{
public class MedicalSchemeChargeMaintainBll
{
public MedicalSchemeChargeMaintainDal Dal = new MedicalSchemeChargeMaintainDal();
///
/// 根据id获取体检方案与收费项目
///
///
///
public List GetAllList(string id)
{
return Dal.GetAllList(id);
}
///
/// 根据体检方案ID查询收费项目
///
///
///
public List GetListBymedicalschememaintainid(string medicalSchemeMaintainId)
{
return Dal.GetListBymedicalschememaintainid(medicalSchemeMaintainId);
}
public bool Add(MedicalSchemeChargeMaintainModel model)
{
return Dal.Add(model);
}
public bool Edit(MedicalSchemeChargeMaintainModel model)
{
return Dal.Update(model);
}
public List GetAllListByprojectids(string ids)
{
//throw new NotImplementedException();
return Dal.GetAllListByprojectids(ids);
}
public List GetAllListBysfxmId(string ids, int medical_scheme_maintain_id)
{
//throw new NotImplementedException();
return Dal.GetAllListBysfxmId(ids, medical_scheme_maintain_id);
}
///
/// 根据id删除体检方案收费项目维护
///
///
///
public object delTJfanganSFxiangmuWh(string id)
{
return Dal.del(id);
}
}
}