66 lines
1.4 KiB
C#
66 lines
1.4 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 sqysmxBll
|
|
{
|
|
private sqysmxDal Dal = new sqysmxDal();
|
|
|
|
public List<sqysmxModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
|
|
public List<sqysmxModel> GetAllList(string id, string zt)
|
|
{
|
|
return Dal.GetAllList(id, zt);
|
|
}
|
|
|
|
public List<sqysmxModel> GetListByParent(string parentid)
|
|
{
|
|
return Dal.GetListByParent(parentid);
|
|
}
|
|
|
|
public object save(sqysmxModel model)
|
|
{
|
|
return Dal.save(model);
|
|
}
|
|
|
|
public object updateYyje(string items)
|
|
{
|
|
return Dal.updateYyje(items);
|
|
}
|
|
|
|
public object delete(string id)
|
|
{
|
|
return Dal.delete(id);
|
|
}
|
|
|
|
public int getCount(string key)
|
|
{
|
|
return Dal.getCount(key);
|
|
}
|
|
|
|
public List<sqysmxModel> getPage(int page, int pagesize, string key)
|
|
{
|
|
return Dal.getPage(page, pagesize, key);
|
|
}
|
|
|
|
public List<dynamic> getBXMX(string where)
|
|
{
|
|
return Dal.getBXMX(where);
|
|
}
|
|
|
|
public List<dynamic> getBXLS(string where)
|
|
{
|
|
return Dal.getBXLS(where);
|
|
}
|
|
}
|
|
}
|