60 lines
1.4 KiB
C#
60 lines
1.4 KiB
C#
using dccdc.DAL;
|
|
using dccdc.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace dccdc.BLL
|
|
{
|
|
public class thdBll
|
|
{
|
|
private thdDal Dal = new thdDal();
|
|
public List<thdModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
public List<thdModel> GetAllList(string id, string zt)
|
|
{
|
|
return Dal.GetAllList(id, zt);
|
|
}
|
|
|
|
public object save(thdModel model)
|
|
{
|
|
return Dal.save(model);
|
|
}
|
|
|
|
public List<thdModel> getThdByThdh(string thdh)
|
|
{
|
|
return Dal.getThdByThdh(thdh);
|
|
}
|
|
|
|
public object getThdMxByThdId(string thdid)
|
|
{
|
|
return Dal.getThdMxByThdId(thdid);
|
|
}
|
|
|
|
public object opSave(string id, string gysid, string gys, string thje, string thyy, string items, int thrid, string thr)
|
|
{
|
|
return Dal.opSave(id, gysid, gys, thje, thyy, items, thrid, thr);
|
|
}
|
|
|
|
public object delete(string id)
|
|
{
|
|
return Dal.delete(id);
|
|
}
|
|
|
|
public int getCount(string key)
|
|
{
|
|
return Dal.getCount(key);
|
|
}
|
|
|
|
public List<thdModel> getPage(int page, int pagesize, string key)
|
|
{
|
|
return Dal.getPage(page, pagesize, key);
|
|
}
|
|
}
|
|
}
|
|
|