コード例 #1
0
ファイル: CommodityOrderSV.cs プロジェクト: GSIL-Monitor/BTP
        /// <summary>
        /// 获取符合条件的用户数据
        /// </summary>
        /// <param name="search"></param>
        /// <returns></returns>
        public ResultDTO <List <OrderStatisticsSDTO> > GetOrderStatistics(Jinher.AMP.Coupon.Deploy.CustomDTO.SearchOrderStatisticsExtDTO search)
        {
            base.Do(false);
            Stopwatch timer = new Stopwatch();

            timer.Start();
            var result = this.GetOrderStatisticsExt(search);

            timer.Stop();
            LogHelper.Debug(string.Format("CommodityOrderSV.GetOrderStatistics:耗时:{0}。入参::{2}r\n出参:{1}", timer.ElapsedMilliseconds, JsonHelper.JsonSerializer(result), JsonHelper.JsonSerializer(search)));
            return(result);
        }
コード例 #2
0
        /// <summary>
        /// 获取符合条件的用户数据
        /// </summary>
        /// <param name="search"></param>
        /// <returns></returns>
        public ResultDTO <List <OrderStatisticsSDTO> > GetOrderStatistics(Jinher.AMP.Coupon.Deploy.CustomDTO.SearchOrderStatisticsExtDTO search)
        {
            //定义返回值
            ResultDTO <List <OrderStatisticsSDTO> > result;

            try
            {
                //调用代理方法
                result = base.Channel.GetOrderStatistics(search);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
コード例 #3
0
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.CustomDTO.OrderStatisticsSDTO> > GetOrderStatistics(Jinher.AMP.Coupon.Deploy.CustomDTO.SearchOrderStatisticsExtDTO search)
 {
     base.Do();
     return(this.Command.GetOrderStatistics(search));
 }