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

71 lines
1.9 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dccdc.Models;
using dccdc.DAL;
namespace dccdc.BLL
{
public class JfGwjdglBll
{
public List<JfGwjdgl> getJfGwjdgl(JfGwjdgl jfGwjdgl, int page, int pagesize)
{
return new JfGwjdglDll().getJfGwjdgl(jfGwjdgl,page,pagesize);
}
public int countJfGwjdgl(JfGwjdgl jfGwjdgl)
{
return new JfGwjdglDll().countJfGwjdgl(jfGwjdgl);
}
public JfGwjdgl getJfGwjdglOne(JfGwjdgl jfgwjdgl)
{
JfGwjdgl info = new DAL.JfGwjdglDll().getJfGwjdglOne(jfgwjdgl).FirstOrDefault();
return info;
}
public bool addJfGwjdgl(JfGwjdgl jfgwjdgl)
{
return new DAL.JfGwjdglDll().addJfGwjdgl(jfgwjdgl);
}
public bool updJfGwjdgl(JfGwjdgl jfgwjdgl)
{
return new DAL.JfGwjdglDll().updJfGwjdgl(jfgwjdgl);
}
public bool delJfGwjdgl(JfGwjdgl jfgwjdgl)
{
return new DAL.JfGwjdglDll().delJfGwjdgl(jfgwjdgl);
}
public string getckkdh(string errmsg, string tablename)
{
return new DAL.JfGwjdglDll().getckkdh(errmsg, tablename);
}
public int getCountLevel(string where)
{
return new DAL.JfGwjdglDll().getCountLevel(where);
}
public List<JfGwjdgl> getPageLevel(int page, int pagesize, string where)
{
return new DAL.JfGwjdglDll().getPageLevel(page, pagesize, where);
}
public List<JfGwjdgl> getspJfGwjdgl(string ksidstr, string ztstr, int page, int pagesize)
{
return new DAL.JfGwjdglDll().getspJfGwjdgl(ksidstr, ztstr, page, pagesize);
}
public int countspJfGwjdgl(string ksidstr, string ztstr)
{
return new DAL.JfGwjdglDll().countspJfGwjdgl(ksidstr, ztstr);
}
}
}