Example #1
0
        /// <summary>
        /// 页面初始化
        /// </summary>
        private void PageInit()
        {
            Eyousoft_yhq.BLL.BPlanIns bll = new Eyousoft_yhq.BLL.BPlanIns();

            #region 查询实体
            var serchModel = new Eyousoft_yhq.Model.MPlanInsSer()
            {
                OperatorID = HuiYuanInfo.UserID
            };
            pageIndex = UtilsCommons.GetPagingIndex("Page");
            #endregion


            var list = new Eyousoft_yhq.BLL.BPlanIns().GetList(pageSize, pageIndex, ref recordCount, serchModel);

            if (list != null && list.Count > 0)
            {
                this.rpOrder.DataSource = list;
                this.rpOrder.DataBind();
                BindPage();
            }
            else
            {
                Literal1.Text = "<tr align=\"center\"> <td colspan=\"11\">没有相关数据</td></tr>";
            }
        }
Example #2
0
        /// <summary>
        /// 页面初始化
        /// </summary>
        private void PageInit()
        {
            Eyousoft_yhq.BLL.BPlanIns bll = new Eyousoft_yhq.BLL.BPlanIns();

            #region 查询实体
            var serchModel = new Eyousoft_yhq.Model.MPlanInsSer() { OperatorID = HuiYuanInfo.UserID };
            pageIndex = UtilsCommons.GetPagingIndex("Page");
            #endregion

            var list = new Eyousoft_yhq.BLL.BPlanIns().GetList(pageSize, pageIndex, ref recordCount, serchModel);

            if (list != null && list.Count > 0)
            {
                this.rpOrder.DataSource = list;
                this.rpOrder.DataBind();
                BindPage();
            }
            else
            {
                Literal1.Text = "<tr align=\"center\"> <td colspan=\"11\">没有相关数据</td></tr>";
            }
        }
Example #3
0
 /// <summary>
 /// 获取保险编号
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public IList <Eyousoft_yhq.Model.MPlanIns> GetList(int PageSize, int PageIndex, ref int RecordCount, Eyousoft_yhq.Model.MPlanInsSer serModel)
 {
     return(dal.GetList(PageSize, PageIndex, ref RecordCount, serModel));
 }