void InitXL() { var chaXun = new EyouSoft.Model.YlStructure.MXiLieChaXunInfo(); chaXun.GongSiLeiXing = LeiXing; int recordCount = 0; var items = new EyouSoft.BLL.YlStructure.BJiChuXinXi().GetXiLies(YuMingInfo.CompanyId, 1000, 1, ref recordCount, chaXun); rptXL.DataSource = items; rptXL.DataBind(); }
/// <summary> /// 初始化列表 /// </summary> protected void PageInit() { EyouSoft.Model.YlStructure.MXiLieChaXunInfo searCh = new EyouSoft.Model.YlStructure.MXiLieChaXunInfo(); searCh.GongSiMingCheng = Utils.GetQueryStringValue("name"); searCh.XiLieMingCheng = Utils.GetQueryStringValue("xilie"); pageIndex = UtilsCommons.GetPadingIndex(); IList <EyouSoft.Model.YlStructure.MXiLieInfo> list = new EyouSoft.BLL.YlStructure.BJiChuXinXi().GetXiLies(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="chaXun">查询</param> /// <returns></returns> public IList <EyouSoft.Model.YlStructure.MXiLieInfo> GetXiLies(string companyId, EyouSoft.Model.YlStructure.MXiLieChaXunInfo chaXun) { if (string.IsNullOrEmpty(companyId)) { return(null); } return(dal.GetXiLies(companyId, chaXun)); }
/// <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.MXiLieInfo> GetXiLies(string companyId, int pageSize, int pageIndex, ref int recordCount, EyouSoft.Model.YlStructure.MXiLieChaXunInfo chaXun) { if (string.IsNullOrEmpty(companyId)) { return(null); } return(dal.GetXiLies(companyId, pageSize, pageIndex, ref recordCount, chaXun)); }