79 lines
3.0 KiB
C#
79 lines
3.0 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 sqgwjdBll
|
|
{
|
|
private sqgwjdDal Dal = new sqgwjdDal();
|
|
public List<sqgwjdModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
|
|
public List<sqgwjdModel> GetAllList(string id, string zt)
|
|
{
|
|
return Dal.GetAllList(id, zt);
|
|
}
|
|
|
|
public object save(sqgwjdModel model)
|
|
{
|
|
return Dal.save(model);
|
|
}
|
|
|
|
|
|
public object opSave(string id, int ksid, string ksmc, string items, int sqrid, string sqr, string je, string bz, string jdsj, string ddry, string jdld, string sxrs, string pcrs, string lxdh, string zrs, string ycbz, string yjbz, string qtbz, string gzcbz, string gzcrs, string zsbz, string zsrs, string qt, string jdbg, string jcfj, int zt, string fyly1, string fyly2, string fyly, string fydh, string fydhs, string fydh2)
|
|
{
|
|
return Dal.opSave(id, ksid, ksmc, items, sqrid, sqr, je, bz, jdsj, ddry, jdld, sxrs, pcrs, lxdh, zrs, ycbz, yjbz, qtbz, gzcbz, gzcrs, zsbz, zsrs, qt, jdbg, jcfj, zt, fyly1, fyly2, fyly, fydh, fydhs, fydh2);
|
|
}
|
|
public object opSave2(string id, int ksid, string ksmc, string items, int sqrid, string sqr, string je, string bz, string jdsj, string ddry, string jdld, string sxrs, string pcrs, string lxdh, string zrs, string ycbz, string yjbz, string qtbz, string gzcbz, string gzcrs, string zsbz, string zsrs, string qt, string jdbg, string jcfj, int zt, string fyly1, string fyly2, string fyly, string fydh, string fydhs, string fydh2)
|
|
{
|
|
return Dal.opSave2(id, ksid, ksmc, items, sqrid, sqr, je, bz, jdsj, ddry, jdld, sxrs, pcrs, lxdh, zrs, ycbz, yjbz, qtbz, gzcbz, gzcrs, zsbz, zsrs, qt, jdbg, jcfj, zt, fyly1, fyly2, fyly, fydh, fydhs, fydh2);
|
|
}
|
|
|
|
public object opSp(string id, int sprid, string spr, string yj, bool ty)
|
|
{
|
|
return Dal.opSp(id, sprid, spr, yj, ty);
|
|
}
|
|
public object opSpOneself(string id, int sprid, string spr, string yj, bool ty, string zw)
|
|
{
|
|
return Dal.opSpOneself(id, sprid, spr, yj, ty, zw);
|
|
}
|
|
|
|
public object bcnr(string id, string bz, string bcnr1, string bcnr2, string bcnr3, string bcje)
|
|
{
|
|
return Dal.bcnr(id, bz, bcnr1, bcnr2, bcnr3, bcje);
|
|
}
|
|
|
|
public object delete(string id)
|
|
{
|
|
return Dal.delete(id);
|
|
}
|
|
|
|
public int getCount(string key)
|
|
{
|
|
return Dal.getCount(key);
|
|
}
|
|
|
|
public List<sqgwjdModel> getPage(int page, int pagesize, string key)
|
|
{
|
|
return Dal.getPage(page, pagesize, key);
|
|
}
|
|
|
|
public int getCountLevel(string where)
|
|
{
|
|
return Dal.getCountLevel(where);
|
|
}
|
|
|
|
public List<sqgwjdModel> getPageLevel(int page, int pagesize, string where)
|
|
{
|
|
return Dal.getPageLevel(page, pagesize, where);
|
|
}
|
|
}
|
|
}
|