tijian_tieying/web/dccdc.BLL/sqcgmxBll.cs
2025-02-20 12:14:39 +08:00

52 lines
1.1 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 sqcgmxBll
{
private sqcgmxDal Dal = new sqcgmxDal();
public List<sqcgmxModel> GetAllList(string id)
{
return Dal.GetAllList(id);
}
public List<sqcgmxModel> GetAllList(string id, string zt)
{
return Dal.GetAllList(id, zt);
}
public List<sqcgmxModel> GetListByParent(string parentid)
{
return Dal.GetListByParent(parentid);
}
public object save(sqcgmxModel model)
{
return Dal.save(model);
}
public object delete(string id)
{
return Dal.delete(id);
}
public int getCount(string key)
{
return Dal.getCount(key);
}
public List<sqcgmxModel> getPage(int page, int pagesize, string key)
{
return Dal.getPage(page, pagesize, key);
}
}
}