155 lines
3.8 KiB
C#
155 lines
3.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using dccdc.Models.WeiXin;
|
|
|
|
namespace dccdc.BLL
|
|
{
|
|
public class weixinBll
|
|
{
|
|
public List<Models.WeiXin.menu> getMenu()
|
|
{
|
|
return new DAL.weixinDal().getMenu();
|
|
}
|
|
//YM
|
|
public List<Models.WeiXin.menu> getMenuYM()
|
|
{
|
|
return new DAL.weixinDal().getMenuYM();
|
|
}
|
|
|
|
|
|
|
|
public List<Models.WeiXin.menu> getSJCD()
|
|
{
|
|
return new DAL.weixinDal().getSJCD();
|
|
}
|
|
public List<Models.WeiXin.menu> getSJCDYM()
|
|
{
|
|
return new DAL.weixinDal().getSJCDYM();
|
|
}
|
|
|
|
|
|
|
|
public object delCd(int id)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return new DAL.weixinDal().delCD(id);
|
|
|
|
}
|
|
|
|
public object delCdYM(int id)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return new DAL.weixinDal().delCDYM(id);
|
|
|
|
}
|
|
|
|
|
|
|
|
public object saveCD(menu m)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return new DAL.weixinDal().saveCD(m);
|
|
}
|
|
|
|
public object saveCDYM(menu m)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return new DAL.weixinDal().saveCDYM(m);
|
|
}
|
|
|
|
|
|
|
|
public void updateOpenUser(openuser ou)
|
|
{
|
|
//throw new NotImplementedException();
|
|
new DAL.weixinDal().udateOpenUser(ou);
|
|
}
|
|
|
|
public void updateOpenUserYM(openuser ou)
|
|
{
|
|
//throw new NotImplementedException();
|
|
new DAL.weixinDal().udateOpenUserYM(ou);
|
|
}
|
|
|
|
|
|
|
|
public int getGZCount(string nc, string bz)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return new DAL.weixinDal().getGZCount(nc, bz);
|
|
}
|
|
|
|
public List<Models.WeiXin.openuser> getGZList(string nc, string bz, int page, int pagesize)
|
|
{
|
|
return new DAL.weixinDal().getGZList(nc, bz, page, pagesize);
|
|
}
|
|
|
|
|
|
public int getGZCountYM(string nc, string bz)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return new DAL.weixinDal().getGZCountYM(nc, bz);
|
|
}
|
|
|
|
public List<Models.WeiXin.openuser> getGZListYM(string nc, string bz, int page, int pagesize)
|
|
{
|
|
return new DAL.weixinDal().getGZListYM(nc, bz, page, pagesize);
|
|
}
|
|
|
|
|
|
|
|
|
|
public int remarkGZ(string openid, string bz)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return new DAL.weixinDal().remarkGZ(openid, bz);
|
|
}
|
|
|
|
public int remarkGZYM(string openid, string bz)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return new DAL.weixinDal().remarkGZYM(openid, bz);
|
|
}
|
|
DAL.weixinDal _dal = new DAL.weixinDal();
|
|
|
|
|
|
|
|
public object checktjjf(string tm,string lx)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return _dal.checktjjf(tm,lx);
|
|
}
|
|
|
|
public object sfkyyqy(string qy)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return _dal.sfkyyqy(qy);
|
|
}
|
|
|
|
public object xgyyrq(string id, string yyrq,int userid)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return _dal.xgyyrq(id, yyrq,userid);
|
|
}
|
|
|
|
public Models.WeiXin.openuser getopenuser(string openid)
|
|
{
|
|
//throw new NotImplementedException();
|
|
return _dal.getopenuser(openid);
|
|
}
|
|
|
|
public List<Models.tjjg> GetTjjgs()
|
|
{
|
|
return _dal.getyyjg();
|
|
}
|
|
|
|
public List<Models.tjjg> getyyjgs()
|
|
{
|
|
return _dal.getyyjgs();
|
|
}
|
|
}
|
|
}
|