Пример #1
0
        /// <summary>
        /// 原创组
        /// </summary>
        /// <returns></returns>
        public ActionResult OriginalGroup()
        {
            this.pageSize = GetPageSize(20); //每页数量
            this.page = DTRequest.GetQueryInt("page", 1);
            ViewBag.txtKeywords = this.keywords;
            List<Bank_OriginalGroup> list = new Bank_OriginalGroupLogic().GetOriginalGroupList(KSOAEnum.OpusType.A, this.pageSize, this.page, out this.totalCount);

            //绑定页码
            ViewBag.txtPageNum = this.pageSize.ToString();
            string pageUrl = Utils.CombUrlTxt("../ProPlatform/OriginalGroup", "group_id={0}&keywords={1}&page={2}", this.group_id.ToString(), this.keywords, "__id__");
            ViewBag.PageContent = Utils.OutPageList(this.pageSize, this.page, this.totalCount, pageUrl, 8);
            return View(list);
        }
Пример #2
0
 /// <summary>
 /// 编辑原创组
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public ActionResult EditOriginalGroup(int id)
 {
     Bank_OriginalGroup wn = new Bank_OriginalGroupLogic().GetOriginalGroupModel(id);
     if (wn == null)
     {
         wn = new Bank_OriginalGroup();
     }
     return View(wn);
 }