using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace FangYar.BLL
{
///
/// 设备(BLL)
///
public class ToTree_BLL
{
private static readonly FangYar.IDAL.ToTreeIDAL dal = FangYar.DALFactory.Factory.GeToTreeDAL();
///
/// 获取树
///
///
///
///
///
///
public List GetTree(string treeid, string treepid, string name, string table, string strwhere, List treelist)
{
return dal.GetTree(treeid, treepid, name, table, strwhere, treelist);
}
///
/// 获取树 根据单位ID获取本节点及所有级子节点树
///
///
///
///
///
///
public List GetTree2(string treeid, string treepid, string name, string table, string strwhere, List treelist)
{
return dal.GetTree2(treeid, treepid, name, table, strwhere, treelist);
}
///
/// 获取树 只查询一遍
///
///
///
///
///
///
public List GetTree3(string treeid, string treepid, string name, string table, string strwhere, List treelist)
{
return dal.GetTree3(treeid, treepid, name, table, strwhere, treelist);
}
///
/// 获取树
///
///
///
///
///
///
public List GetNodeTree(string treeid, string treepid, string name, string table, string strwhere)
{
return dal.GetNodeTree(treeid, treepid, name, table, strwhere);
}
///
/// 获取树节点
///
///
///
///
///
///
public List GetTreeNodeModelToList(string treeid, string treepid, string name, string table, string strwhere)
{
return dal.GetTreeNodeModelToList(treeid, treepid, name, table, strwhere);
}
}
}