65 lines
1.9 KiB
C#
65 lines
1.9 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 cgsqdBll
|
|||
|
|
{
|
|||
|
|
private cgsqdDal Dal = new cgsqdDal();
|
|||
|
|
public List<cgsqdModel> GetAllList(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(id);
|
|||
|
|
}
|
|||
|
|
public List<cgsqdModel> GetAllList(string id, string zt)
|
|||
|
|
{
|
|||
|
|
return Dal.GetAllList(id, zt);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object save(cgsqdModel model)
|
|||
|
|
{
|
|||
|
|
return Dal.save(model);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object opSave(string id, string jflyid, string jfly, string sqyy, string cgje, string items, int sqrid, string sqr, int sqksid, string sqks)
|
|||
|
|
{
|
|||
|
|
return Dal.opSave(id, jflyid, jfly, sqyy, cgje, items, sqrid, sqr, sqksid, sqks);
|
|||
|
|
}
|
|||
|
|
public object opSave2(string id, string jflyid, string jfly, string sqyy, string cgje, string items, int sqrid, string sqr, int sqksid, string sqks)
|
|||
|
|
{
|
|||
|
|
return Dal.opSave2(id, jflyid, jfly, sqyy, cgje, items, sqrid, sqr, sqksid, sqks);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<cgsqdModel> getCgsqdBySqdh(string sqdh)
|
|||
|
|
{
|
|||
|
|
return Dal.getCgsqdBySqdh(sqdh);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public object getCgsqdMxBySqdId(string sqdid)
|
|||
|
|
{
|
|||
|
|
return Dal.getCgsqdMxBySqdId(sqdid);
|
|||
|
|
}
|
|||
|
|
public object delete(string id)
|
|||
|
|
{
|
|||
|
|
return Dal.delete(id);
|
|||
|
|
}
|
|||
|
|
public object check(string id, string zt, string TrueName)
|
|||
|
|
{
|
|||
|
|
return Dal.check(id, zt, TrueName);
|
|||
|
|
}
|
|||
|
|
public int getCount(string key, string ksid)
|
|||
|
|
{
|
|||
|
|
return Dal.getCount(key, ksid);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public List<cgsqdModel> getPage(int page, int pagesize, string key, string ksid)
|
|||
|
|
{
|
|||
|
|
return Dal.getPage(page, pagesize, key, ksid);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|