46 lines
1.1 KiB
C#
46 lines
1.1 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 SummaryReportHarmMaintainBll
|
|
{
|
|
private SummaryReportHarmMaintainDal dal = new SummaryReportHarmMaintainDal();
|
|
|
|
/// <summary>
|
|
/// 根据id获取总结报告职业危害列表
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
public List<SummaryReportHarmMaintainModel> GetAllList(string id)
|
|
{
|
|
return dal.GetAllList(id);
|
|
}
|
|
|
|
public bool Update(SummaryReportHarmMaintainModel model)
|
|
{
|
|
return dal.Update(model);
|
|
}
|
|
|
|
public bool Add(SummaryReportHarmMaintainModel model)
|
|
{
|
|
return dal.Add(model);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 根据id删除总结报告职业危害
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
public object delZjbgzywh(string id)
|
|
{
|
|
return dal.del(id);
|
|
}
|
|
}
|
|
}
|