59 lines
1.6 KiB
C#
59 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 ContraindicatMaintainBll
|
|||
|
|
{
|
|||
|
|
public ContraindicatMaintainDal Dal = new ContraindicatMaintainDal();
|
|||
|
|
public List<ContraindicatMaintainModel> GetAllList(string id, string stauts)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(id, stauts);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public int getCount(string key)
|
|||
|
|
{
|
|||
|
|
//throw new NotImplementedException();
|
|||
|
|
return Dal.getCount(key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据名称获取职业禁忌证列表
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="page"></param>
|
|||
|
|
/// <param name="pagesize"></param>
|
|||
|
|
/// <param name="key"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public List<ContraindicatMaintainModel> getList(int page, int pagesize, string key)
|
|||
|
|
{
|
|||
|
|
return Dal.getList(page, pagesize, key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object save(ContraindicatMaintainModel cm, ERPUser user)
|
|||
|
|
{
|
|||
|
|
return Dal.save(cm, user);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<ContraindicatMaintainModel> GetAllTreeList()
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllTreeList();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据id删除职业禁忌证
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="id"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
/// <exception cref="NotImplementedException"></exception>
|
|||
|
|
public object delContraindicatMaintain(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.del(id);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|