public void Initialize() { DCommentBll = new TMM.Service.Bll.Doc.D_CommentBLL(); DDocInfoBll = new TMM.Service.Bll.Doc.DDocInfoBLL(); SCatalogBll = new TMM.Service.Bll.Sys.S_CatalogBLL(); DownloadLogBll = new TMM.Service.Bll.Doc.DownloadLogBLL(); TReqDocBll = new TMM.Service.Bll.Doc.TReqDocBLL(); TJoinDocBll = new TMM.Service.Bll.Doc.TJoinDocBLL(); DTagBll = new TMM.Service.Bll.Doc.D_TagBLL(); }
public void Index(int first) { Service.Bll.Doc.TReqDocBLL tbll = new TMM.Service.Bll.Doc.TReqDocBLL(); Service.Bll.Doc.TJoinDocBLL tjbll = new TMM.Service.Bll.Doc.TJoinDocBLL(); int rows = 10; int count = 0; IList<TReqDoc> list = tbll.GetList(first, rows, out count, null); Common.ListPage lp = new TMM.Core.Common.ListPage((IList)list, first, rows, count); PropertyBag["lp"] = lp; //排行榜 PropertyBag["phb"] = tbll.GetList(0, 10); //最新中标 PropertyBag["zxzb"] = tjbll.GetList(0, 10); }
public void Index(int first) { Service.Bll.Doc.TReqDocBLL tbll = new TMM.Service.Bll.Doc.TReqDocBLL(); Service.Bll.Doc.TJoinDocBLL tjbll = new TMM.Service.Bll.Doc.TJoinDocBLL(); int rows = 10; int count = 0; IList <TReqDoc> list = tbll.GetList(first, rows, out count, null); Common.ListPage lp = new TMM.Core.Common.ListPage((IList)list, first, rows, count); PropertyBag["lp"] = lp; //排行榜 PropertyBag["phb"] = tbll.GetList(0, 10); //最新中标 PropertyBag["zxzb"] = tjbll.GetList(0, 10); }