/// <summary> /// get chaxun info /// </summary> /// <returns></returns> EyouSoft.Model.YlStructure.MTuanGouChaXunInfo GetChaXunInfo() { var info = new EyouSoft.Model.YlStructure.MTuanGouChaXunInfo(); info.MingCheng = Utils.GetQueryStringValue("txtMingCheng"); info.BianHao = Utils.GetQueryStringValue("txtBianHao"); info.PaiXu = 6; switch (Utils.GetQueryStringValue("stat")) { case "1": info.IsYouXiao = true; break; case "2": info.IsYouXiao = false; break; } return(info); }
/// <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.MTuanGouInfo> GetTuanGous(string companyId, int pageSize, int pageIndex, ref int recordCount, EyouSoft.Model.YlStructure.MTuanGouChaXunInfo chaXun) { if (string.IsNullOrEmpty(companyId)) { return(null); } return(dal.GetTuanGous(companyId, pageSize, pageIndex, ref recordCount, chaXun)); }