tijian_tieying/web/dccdc.BLL/sqshBll.cs

52 lines
1.0 KiB
C#
Raw Permalink Normal View History

2025-02-20 12:14:39 +08:00
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 sqshBll
{
public sqshDal Dal = new sqshDal();
public List<sqshModel> GetAllTreeList()
{
return Dal.GetAllTreeList();
}
public sqshModel GetmodelByName(string name)
{
return Dal.GetmodelByName(name);
}
public List<sqshModel> GetAllList()
{
return Dal.GetAllList();
}
public List<sqshModel> GetListByKey(string type,string sqid)
{
return Dal.GetListByKey(type, sqid);
}
public List<sqshModel> GetAllList(string id)
{
return Dal.GetAllList(id);
}
public bool Add(sqshModel model)
{
return Dal.Add(model);
}
public bool Update(sqshModel model)
{
return Dal.Update(model);
}
}
}