/// <summary> /// 初始化列表 /// </summary> protected void PageInit() { EyouSoft.Model.YlStructure.MShiPinChaXunInfo searCh = new EyouSoft.Model.YlStructure.MShiPinChaXunInfo(); searCh.GongSiMingCheng = Utils.GetQueryStringValue("gongsiname"); searCh.XiLieMingCheng = Utils.GetQueryStringValue("xiliename"); searCh.ChuanZhiMingCheng = Utils.GetQueryStringValue("chuanzhiname"); pageIndex = UtilsCommons.GetPadingIndex(); IList <EyouSoft.Model.YlStructure.MShiPinInfo> list = new EyouSoft.BLL.YlStructure.BJiChuXinXi().GetShiPins(SiteUserInfo.CompanyId, pageSize, pageIndex, ref recordCount, searCh);; if (list != null && list.Count > 0) { this.repList.DataSource = list; this.repList.DataBind(); BindPage(); } else { this.repList.EmptyText = "<tr><td align=\"center\" colspan=\"6\">暂无数据!</td></tr>"; this.ExporPageInfoSelect1.Visible = false; } }
/// <summary> /// 获取游轮视频信息集合 /// </summary> /// <param name="companyId">公司编号</param> /// <param name="pageSize">页记录数</param> /// <param name="pageIndex">页序号</param> /// <param name="recordCount">总记录数</param> /// <param name="chaXun">查询</param> /// <returns></returns> public IList <EyouSoft.Model.YlStructure.MShiPinInfo> GetShiPins(string companyId, int pageSize, int pageIndex, ref int recordCount, EyouSoft.Model.YlStructure.MShiPinChaXunInfo chaXun) { if (string.IsNullOrEmpty(companyId)) { return(null); } return(dal.GetShiPins(companyId, pageSize, pageIndex, ref recordCount, chaXun)); }