65 lines
1.8 KiB
C#
65 lines
1.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using dccdc.DAL;
|
|
using dccdc.Models;
|
|
|
|
namespace dccdc.BLL
|
|
{
|
|
public class ym_jzlcBll
|
|
{
|
|
public ym_jzlcDal Dal = new ym_jzlcDal();
|
|
public int getYmJzlcCount()
|
|
{
|
|
return Dal.getYmJzlcCount();
|
|
}
|
|
|
|
public object getYmJzlcList(int page, int pagesize)
|
|
{
|
|
return Dal.getYmJzlcList(page, pagesize);
|
|
}
|
|
public List<Models.ym_jzlc> getAllList()
|
|
{
|
|
return Dal.getAllList();
|
|
}
|
|
public List<Models.ym_jd> getAllYMJDList()
|
|
{
|
|
return Dal.getAllYMJDList();
|
|
}
|
|
public Models.ym_jzlc getYmJzlcModel(object id)
|
|
{
|
|
return Dal.getYmJzlcModel(id);
|
|
}
|
|
public bool Update(Models.ym_jzlc model)
|
|
{
|
|
return Dal.Update(model);
|
|
}
|
|
public bool Add(Models.ym_jzlc model)
|
|
{
|
|
return Dal.Add(model);
|
|
}
|
|
public Models.ym_jzlc getYmjzlcByErtbm(string jdbm)
|
|
{
|
|
return Dal.getYmjzlcByErtbm(jdbm);
|
|
}
|
|
public Models.ym_jzlcjl getYmjzlcjlByErtbm(string ertbm)
|
|
{
|
|
return Dal.getYmjzlcjlByErtbm(ertbm);
|
|
}
|
|
public List<Models.ym_jzlc> getAllListByErtbm(string ertbm)
|
|
{
|
|
return Dal.getAllListByErtbm(ertbm);
|
|
}
|
|
public List<Models.ym_jzlc> getAllJzlcList(string ertbm)
|
|
{
|
|
return Dal.getAllJzlcList(ertbm);
|
|
}
|
|
public List<T> getListPager<T>(string sql, object parms, int page, int pagesize, out int count, string orderfield = "id", string storetype = "desc") where T : new()
|
|
{
|
|
return Dal.getListPager<T>(sql, parms, page, pagesize, out count, orderfield,storetype);
|
|
}
|
|
}
|
|
}
|