tijian_tieying/web/dccdc.BLL/sqqtbxBll.cs
2025-02-20 12:14:39 +08:00

90 lines
2.7 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 sqqtbxBll
{
private sqqtbxDal Dal = new sqqtbxDal();
public List<sqqtbxModel> GetAllList(string id)
{
return Dal.GetAllList(id);
}
public List<sqqtbxModel> GetAllList(string id, string zt)
{
return Dal.GetAllList(id, zt);
}
public List<sqqtbxModel> GetHavedydhs()
{
return Dal.GetHavedydhs();
}
public object save(sqqtbxModel 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 fyly1, string fyly2, string fyly, string fydh, string fydhs, string fydh2, string dydh, string hblx, string sqje, int zt)
{
return Dal.opSave(id, ksid, ksmc, items, sqrid, sqr, je, bz, fyly1, fyly2, fyly, fydh, fydhs, fydh2, dydh, hblx, sqje, zt);
}
public object opSave2(string id, int ksid, string ksmc, string items, int sqrid, string sqr, string je, string bz, string fyly1, string fyly2, string fyly, string fydh, string fydhs, string fydh2, string dydh, string hblx, string sqje, int zt)
{
return Dal.opSave2(id, ksid, ksmc, items, sqrid, sqr, je, bz, fyly1, fyly2, fyly, fydh, fydhs, fydh2, dydh, hblx, sqje, zt);
}
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 opZf(string id, int zfrid, string zfr)
{
return Dal.opZf(id, zfrid, zfr);
}
public object opBx(string id, int bxrid, string bxr)
{
return Dal.opBx(id, bxrid, bxr);
}
public object delete(string id)
{
return Dal.delete(id);
}
public int getCount(string key)
{
return Dal.getCount(key);
}
public List<sqqtbxModel> getPage(int page, int pagesize, string key)
{
return Dal.getPage(page, pagesize, key);
}
public int getCountLevel(string where)
{
return Dal.getCountLevel(where);
}
public List<sqqtbxModel> getPageLevel(int page, int pagesize, string where)
{
return Dal.getPageLevel(page, pagesize, where);
}
}
}