60 lines
1.3 KiB
C#
60 lines
1.3 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 sqbxmx2Bll
|
|
{
|
|
private sqbxmx2Dal Dal = new sqbxmx2Dal();
|
|
|
|
public List<sqbxmx2Model> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
|
|
public List<sqbxmx2Model> GetType(string type, string bxdid)
|
|
{
|
|
return Dal.GetType(type, bxdid);
|
|
}
|
|
|
|
public List<sqbxmx2Model> GetAllList(string id, string zt)
|
|
{
|
|
return Dal.GetAllList(id, zt);
|
|
}
|
|
|
|
public List<sqbxmx2Model> GetListByParent(string parentid)
|
|
{
|
|
return Dal.GetListByParent(parentid);
|
|
}
|
|
|
|
public object save(sqbxmx2Model model)
|
|
{
|
|
return Dal.save(model);
|
|
}
|
|
public object AddList(List<sqbxmx2Model> models)
|
|
{
|
|
return Dal.AddList(models);
|
|
}
|
|
|
|
public object delete(string id)
|
|
{
|
|
return Dal.delete(id);
|
|
}
|
|
|
|
public int getCount(string key)
|
|
{
|
|
return Dal.getCount(key);
|
|
}
|
|
|
|
public List<sqbxmx2Model> getPage(int page, int pagesize, string key)
|
|
{
|
|
return Dal.getPage(page, pagesize, key);
|
|
}
|
|
}
|
|
}
|