93 lines
2.2 KiB
C#
93 lines
2.2 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 wzBll
|
|
{
|
|
private wzDal Dal = new wzDal();
|
|
public List<wzModel> GetAllList(string id)
|
|
{
|
|
return Dal.GetAllList(id);
|
|
}
|
|
public List<wzModel> GetAllList(string id, string zt)
|
|
{
|
|
return Dal.GetAllList(id, zt);
|
|
}
|
|
|
|
public List<wzModel> GetListByKey(string key)
|
|
{
|
|
return Dal.GetListByKey(key);
|
|
}
|
|
public List<wzModel> GetListByKey(string key, string key1)
|
|
{
|
|
return Dal.GetListByKey(key, key1);
|
|
}
|
|
|
|
public bool GetBm(string bm)
|
|
{
|
|
return Dal.GetBm(bm);
|
|
}
|
|
public int GetMaxBm()
|
|
{
|
|
return Dal.GetMaxBm();
|
|
}
|
|
|
|
public int Getone(string mc, string ggxh, string sccj, string jldw, decimal price)
|
|
{
|
|
return Dal.Getone(mc, ggxh, sccj, jldw, price);
|
|
}
|
|
|
|
public object save(wzModel model)
|
|
{
|
|
return Dal.save(model);
|
|
}
|
|
public object save2(wzModel model)
|
|
{
|
|
return Dal.save2(model);
|
|
}
|
|
|
|
public object delete(string id)
|
|
{
|
|
return Dal.delete(id);
|
|
}
|
|
public int getCount(string key,string wzlb)
|
|
{
|
|
return Dal.getCount(key,wzlb);
|
|
}
|
|
|
|
public List<wzModel> getPage(int page, int pagesize, string key,string wzlb)
|
|
{
|
|
return Dal.getPage(page, pagesize, key,wzlb);
|
|
}
|
|
|
|
public object getkcpdd(string kcid, string key, string wzlb)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return Dal.getkcpdd(kcid, key, wzlb);
|
|
}
|
|
|
|
public object getcbhs(string b, string e)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return Dal.getcbhs(b, e);
|
|
}
|
|
|
|
public object savegylyr(string id, string xm)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return Dal.savegylyr(id, xm);
|
|
|
|
}
|
|
public IEnumerable<dynamic> getgylyrlist()
|
|
{
|
|
return Dal.getgylyrlist();
|
|
}
|
|
}
|
|
}
|