Beispiel #1
0
 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();
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
        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);
        }