62 lines
1.4 KiB
C#
62 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 tkdBll
|
|
{
|
|
private tkdDal Dal = new tkdDal();
|
|
public List<tkdModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
public List<tkdModel> GetAllList(string id, string zt)
|
|
{
|
|
return Dal.GetAllList(id, zt);
|
|
}
|
|
|
|
public object save(tkdModel model)
|
|
{
|
|
return Dal.save(model);
|
|
}
|
|
|
|
public object opSave(string id, string ksid, string ksmc, string tkry, string sign, string items, int tkrid, string tkr,string tkje)
|
|
{
|
|
return Dal.opSave(id, ksid, ksmc, tkry, sign, items, tkrid, tkr,tkje);
|
|
}
|
|
|
|
public List<tkdModel> getTkdByTkdh(string tkdh)
|
|
{
|
|
return Dal.getTkdByThdh(tkdh);
|
|
}
|
|
|
|
public object getTkdMxByTkdId(string tkdid)
|
|
{
|
|
return Dal.getTkdMxByTkdId(tkdid);
|
|
}
|
|
|
|
public object delete(string id)
|
|
{
|
|
return Dal.delete(id);
|
|
}
|
|
|
|
public int getCount(string key)
|
|
{
|
|
return Dal.getCount(key);
|
|
}
|
|
|
|
public List<tkdModel> getPage(int page, int pagesize, string key)
|
|
{
|
|
return Dal.getPage(page, pagesize, key);
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|