/// <summary> /// 初始化邮轮公司列表 /// </summary> protected void PageInit() { EyouSoft.Model.YlStructure.MChuanZhiChaXunInfo searCh = new EyouSoft.Model.YlStructure.MChuanZhiChaXunInfo(); searCh.GongSiMingCheng = Utils.GetQueryStringValue("name"); searCh.XiLieMingCheng = Utils.GetQueryStringValue("xilie"); searCh.ChuanZhiMingCheng = Utils.GetQueryStringValue("chuanzhi"); pageIndex = UtilsCommons.GetPadingIndex(); IList <EyouSoft.Model.YlStructure.MChuanZhiInfo> list = new EyouSoft.BLL.YlStructure.BJiChuXinXi().GetChuanZhis(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.MChuanZhiInfo> GetChuanZhis(string companyId, EyouSoft.Model.YlStructure.MChuanZhiChaXunInfo chaXun) { if (string.IsNullOrEmpty(companyId)) { return(null); } return(dal.GetChuanZhis(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.MChuanZhiInfo> GetChuanZhis(string companyId, int pageSize, int pageIndex, ref int recordCount, EyouSoft.Model.YlStructure.MChuanZhiChaXunInfo chaXun) { if (string.IsNullOrEmpty(companyId)) { return(null); } return(dal.GetChuanZhis(companyId, pageSize, pageIndex, ref recordCount, chaXun)); }