/// <summary> /// 获取查询实体 /// </summary> /// <returns></returns> EyouSoft.Model.GysStructure.MJiaoYiMingXiChaXunInfo GetChaXunInfo() { var info = new EyouSoft.Model.GysStructure.MJiaoYiMingXiChaXunInfo(); info.LEDate = Utils.GetDateTimeNullable(Utils.GetQueryStringValue("txtLEDate")); info.LSDate = Utils.GetDateTimeNullable(Utils.GetQueryStringValue("txtLSDate")); return(info); }
/// <summary> /// 获取查询实体 /// </summary> /// <returns></returns> EyouSoft.Model.GysStructure.MJiaoYiMingXiChaXunInfo GetChaXunInfo() { var info = new EyouSoft.Model.GysStructure.MJiaoYiMingXiChaXunInfo(); info.LEDate = Utils.GetDateTimeNullable(Utils.GetQueryStringValue("txtLEDate")); info.LSDate = Utils.GetDateTimeNullable(Utils.GetQueryStringValue("txtLSDate")); if (GysId == "all") { info.GysLeiXing = (EyouSoft.Model.EnumType.SourceStructure.SourceType?)Utils.GetEnumValueNull(typeof(EyouSoft.Model.EnumType.SourceStructure.SourceType), Utils.GetQueryStringValue("gysleixing")); } return(info); }
/// <summary> /// 获取供应商交易明细信息集合 /// </summary> /// <param name="companyId">公司编号</param> /// <param name="gysId">供应商编号</param> /// <param name="pageSize">页记录数</param> /// <param name="pageIndex">页索引</param> /// <param name="recordCount">总记录数</param> /// <param name="chaXun">查询实体</param> /// <param name="heJi">合计信息[0:数量:int][1:数量:decimal][2:结算金额:decimal][3:已支付金额:decimal]</param> /// <returns></returns> public IList <EyouSoft.Model.GysStructure.MJiaoYiMingXiInfo> GetJiaoYiMingXis(string companyId, string gysId, int pageSize, int pageIndex, ref int recordCount, EyouSoft.Model.GysStructure.MJiaoYiMingXiChaXunInfo chaXun, out object[] heJi) { heJi = new object[] { 0, 0M, 0M, 0M }; if (string.IsNullOrEmpty(companyId) || string.IsNullOrEmpty(gysId)) { return(null); } var items = dal.GetJiaoYiMingXis(companyId, gysId, pageSize, pageIndex, ref recordCount, chaXun, out heJi); return(items); }