Ejemplo n.º 1
0
        /// <summary>
        /// 构造查询参数
        /// </summary>
        /// <returns></returns>
        public override Dictionary <string, object> GetParameters()
        {
            var result = new Dictionary <string, object>();

            if (!string.IsNullOrEmpty(CusName))
            {
                result["CusName"] = string.Format("{0}%", CusName.Trim());
            }
            if (!string.IsNullOrEmpty(LoadBillNum))
            {
                result["LoadBillNum"] = LoadBillNum.Trim();
            }
            if (BillStatus.HasValue)
            {
                result["BillStatus"] = BillStatus;
            }
            if (PayStatus.HasValue)
            {
                result["PayStatus"] = PayStatus;
            }
            if (CompletionTimeFrom.HasValue)
            {
                result["CompletionTimeFrom"] = CompletionTimeFrom;
            }
            if (CompletionTimeTo.HasValue)
            {
                result["CompletionTimeTo"] = CompletionTimeTo;
            }
            return(result);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 构造查询参数
        /// </summary>
        /// <returns></returns>
        public override Dictionary <string, object> GetParameters()
        {
            var result = new Dictionary <string, object>();

            if (!string.IsNullOrEmpty(CusName))
            {
                result["CusName"] = string.Format("{0}%", CusName.Trim());
            }
            if (!string.IsNullOrEmpty(LoadBillNum))
            {
                result["LoadBillNum"] = LoadBillNum.Trim();
            }
            if (CompletionSTime.HasValue)
            {
                result["CompletionSTime"] = CompletionSTime.Value;
            }
            if (CompletionETime.HasValue)
            {
                result["CompletionETime"] = CompletionETime.Value;
            }
            if (ReconcileSTime.HasValue)
            {
                result["ReconcileSTime"] = ReconcileSTime.Value;
            }
            if (ReconcileETime.HasValue)
            {
                result["ReconcileETime"] = ReconcileETime.Value;
            }
            return(result);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 构造查询参数
        /// </summary>
        /// <returns></returns>
        public override Dictionary <string, object> GetParameters()
        {
            var result = new Dictionary <string, object>();

            if (!string.IsNullOrEmpty(CusShortName))
            {
                result["CusShortName"] = string.Format("{0}%", CusShortName.Trim());
            }
            if (!string.IsNullOrEmpty(LoadBillNum))
            {
                result["LoadBillNum"] = LoadBillNum.Trim();
            }
            if (!string.IsNullOrEmpty(ExpressNo))
            {
                result["ExpressNo"] = ExpressNo.Trim();
            }
            if (PostingTime.HasValue)
            {
                result["PostingTime"] = PostingTime.Value;
            }
            if (PostingTimeTo.HasValue)
            {
                result["PostingTimeTo"] = PostingTimeTo.Value;
            }
            return(result);
        }