58 lines
1.7 KiB
C#
58 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using dccdc.Models;
|
|
using System.Data;
|
|
|
|
namespace dccdc.BLL
|
|
{
|
|
public class ThresholdDeviationMaintainBll
|
|
{
|
|
public int getCount(string key)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return new DAL.ThresholdDeviationMaintainDal().getCount(key);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 根据听阈偏差项目获取听阈偏差列表
|
|
/// </summary>
|
|
/// <param name="page"></param>
|
|
/// <param name="pagesize"></param>
|
|
/// <param name="key"></param>
|
|
/// <returns></returns>
|
|
public List<ThresholdDeviationMaintainModel> getList(int page, int pagesize, string key)
|
|
{
|
|
return new DAL.ThresholdDeviationMaintainDal().getList(page, pagesize, key);
|
|
|
|
}
|
|
|
|
public object save(ThresholdDeviationMaintainModel sbm, ERPUser user)
|
|
{
|
|
return new DAL.ThresholdDeviationMaintainDal().save(sbm, user);
|
|
}
|
|
|
|
public List<ThresholdDeviationMaintainModel> GetAllList(string id, string stauts)
|
|
{
|
|
return new DAL.ThresholdDeviationMaintainDal().GetAllList(id, stauts);
|
|
}
|
|
|
|
public List<ThresholdDeviationMaintainModel> GetAllTreeList()
|
|
{
|
|
return new DAL.ThresholdDeviationMaintainDal().GetAllTreeList();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 根据id删除听阈偏差
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
public object delThresholdDeviationMaintain(string id)
|
|
{
|
|
return new DAL.ThresholdDeviationMaintainDal().del(id);
|
|
}
|
|
}
|
|
}
|