88 lines
2.7 KiB
C#
88 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 sqxxxdBll
|
|
{
|
|
private sqxxxdDal Dal = new sqxxxdDal();
|
|
public List<sqxxxdModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
|
|
public List<sqxxxdModel> GetAllListbycc(string ccsqd)
|
|
{
|
|
return Dal.GetAllList(ccsqd);
|
|
}
|
|
|
|
public List<sqxxxdModel> GetAllList(string id, string zt)
|
|
{
|
|
return Dal.GetAllList(id, zt);
|
|
}
|
|
public string getCcsqds()
|
|
{
|
|
return Dal.getCcsqds();
|
|
}
|
|
|
|
public object save(sqxxxdModel model)
|
|
{
|
|
return Dal.save(model);
|
|
}
|
|
|
|
|
|
public object opSave(string id, int ksid, string ksmc, string items, int sqrid, string sqr, string xxsj, string ccsj1, string ccsj2, string xxdd, string cyry, string cyryids, string bz, string bz2, string bz3, string isdb, string ccsqd, int zt)
|
|
{
|
|
return Dal.opSave(id, ksid, ksmc, items, sqrid, sqr, xxsj, ccsj1, ccsj2, xxdd, cyry, cyryids, bz, bz2, bz3, isdb, ccsqd, zt);
|
|
}
|
|
public object opSave2(string id, int ksid, string ksmc, string items, int sqrid, string sqr, string xxsj, string ccsj1, string ccsj2, string xxdd, string cyry, string cyryids, string bz, string bz2, string bz3, string isdb, string ccsqd, int zt)
|
|
{
|
|
return Dal.opSave2(id, ksid, ksmc, items, sqrid, sqr, xxsj, ccsj1, ccsj2, xxdd, cyry, cyryids, bz, bz2, bz3, isdb, ccsqd, 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 delete(string id)
|
|
{
|
|
return Dal.delete(id);
|
|
}
|
|
|
|
public int getCount(string key)
|
|
{
|
|
return Dal.getCount(key);
|
|
}
|
|
|
|
public List<sqxxxdModel> getPage(int page, int pagesize, string key)
|
|
{
|
|
return Dal.getPage(page, pagesize, key);
|
|
}
|
|
|
|
public int getCountLevel(string where)
|
|
{
|
|
return Dal.getCountLevel(where);
|
|
}
|
|
|
|
public List<sqxxxdModel> getPageLevel(int page, int pagesize, string where)
|
|
{
|
|
return Dal.getPageLevel(page, pagesize, where);
|
|
}
|
|
|
|
public object insertXxxsSite(string title, string content)
|
|
{
|
|
return Dal.insertXxxsSite(title, content);
|
|
}
|
|
}
|
|
}
|