75 lines
2.4 KiB
C#
75 lines
2.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 sqjbycBll
|
|||
|
|
{
|
|||
|
|
private sqjbycDal Dal = new sqjbycDal();
|
|||
|
|
public List<sqjbycModel> GetAllList(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(id);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<sqjbycModel> GetAllList(string id, string zt)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(id, zt);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object save(sqjbycModel 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 jbsj, string jbbz, string jbrs, string jbry, 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, jbsj, jbbz, jbrs, jbry, 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 jbsj, string jbbz, string jbrs, string jbry, 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, jbsj, jbbz, jbrs, jbry, 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 delete(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.delete(id);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public int getCount(string key)
|
|||
|
|
{
|
|||
|
|
return Dal.getCount(key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<sqjbycModel> getPage(int page, int pagesize, string key)
|
|||
|
|
{
|
|||
|
|
return Dal.getPage(page, pagesize, key);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public int getCountLevel(string where)
|
|||
|
|
{
|
|||
|
|
return Dal.getCountLevel(where);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<sqjbycModel> getPageLevel(int page, int pagesize, string where)
|
|||
|
|
{
|
|||
|
|
return Dal.getPageLevel(page, pagesize, where);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|