53 lines
1.2 KiB
C#
53 lines
1.2 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 xmjfsrBll
|
|
{
|
|
private xmjfsrDal Dal = new xmjfsrDal();
|
|
public List<xmjfsrModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
public List<xmjfsrModel> GetAllList(string id, string zt)
|
|
{
|
|
return Dal.GetAllList(id, zt);
|
|
}
|
|
|
|
public object save(xmjfsrModel model, int sqrid)
|
|
{
|
|
return Dal.save(model, sqrid);
|
|
}
|
|
|
|
public object delete(string id)
|
|
{
|
|
return Dal.delete(id);
|
|
}
|
|
public int getCount(string key)
|
|
{
|
|
return Dal.getCount(key);
|
|
}
|
|
|
|
public List<xmjfsrModel> getPage(int page, int pagesize, string key)
|
|
{
|
|
return Dal.getPage(page, pagesize, key);
|
|
}
|
|
|
|
public int getCount2(string where)
|
|
{
|
|
return Dal.getCount2(where);
|
|
}
|
|
|
|
public List<xmjfsrModel> getPage2(int page, int pagesize, string where)
|
|
{
|
|
return Dal.getPage2(page, pagesize, where);
|
|
}
|
|
}
|
|
}
|