42 lines
926 B
C#
42 lines
926 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using dccdc.DAL;
|
|
using dccdc.Models;
|
|
using dccdc.Models.DTO;
|
|
|
|
namespace dccdc.BLL
|
|
{
|
|
public class PersonalCheckBll
|
|
{
|
|
public PersonalCheckDal dal = new PersonalCheckDal();
|
|
|
|
public List<PersonalCheckModel> getList(string filtrate)
|
|
{
|
|
return dal.GetAllList(filtrate);
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 通过id获取实体
|
|
/// </summary>
|
|
/// <param name="fjid"></param>
|
|
/// <returns></returns>
|
|
public PersonalCheckModel getOne(string id)
|
|
{
|
|
return dal.getOne(id);
|
|
}
|
|
|
|
public object updateType(string id,string type) {
|
|
return dal.updateType(id,type);
|
|
}
|
|
|
|
public object save(PersonalCheckModel model)
|
|
{
|
|
return dal.save(model);
|
|
}
|
|
}
|
|
}
|