72 lines
1.8 KiB
C#
72 lines
1.8 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 sqcgBll
|
|
{
|
|
private sqcgDal Dal = new sqcgDal();
|
|
public List<sqcgModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
|
|
public List<sqcgModel> GetAllList(string id, string zt)
|
|
{
|
|
return Dal.GetAllList(id, zt);
|
|
}
|
|
|
|
public object save(sqcgModel model)
|
|
{
|
|
return Dal.save(model);
|
|
}
|
|
|
|
|
|
public object opSave(string id, int ksid, string ksmc, string items, int sqrid, string sqr, string je, string fyly, string fydh, string bz)
|
|
{
|
|
return Dal.opSave(id, ksid, ksmc, items, sqrid, sqr, je, fyly, fydh, bz);
|
|
}
|
|
public object opSave2(string id, int ksid, string ksmc, string items, int sqrid, string sqr, string je, string fyly, string fydh, string bz)
|
|
{
|
|
return Dal.opSave2(id, ksid, ksmc, items, sqrid, sqr, je, fyly, fydh, bz);
|
|
}
|
|
|
|
public object opSp(string id, string spr, string yj, bool ty)
|
|
{
|
|
return Dal.opSp(id, spr, yj, ty);
|
|
}
|
|
|
|
|
|
public object delete(string id)
|
|
{
|
|
return Dal.delete(id);
|
|
}
|
|
|
|
public int getCount(string key)
|
|
{
|
|
return Dal.getCount(key);
|
|
}
|
|
|
|
public List<sqcgModel> getPage(int page, int pagesize, string key)
|
|
{
|
|
return Dal.getPage(page, pagesize, key);
|
|
}
|
|
|
|
public int getCountLevel(string where)
|
|
{
|
|
return Dal.getCountLevel(where);
|
|
}
|
|
|
|
public List<sqcgModel> getPageLevel(int page, int pagesize, string where)
|
|
{
|
|
return Dal.getPageLevel(page, pagesize, where);
|
|
}
|
|
}
|
|
}
|
|
|