Пример #1
0
        /// <summary>
        /// 统计一天的零售商品
        /// </summary>
        private async Task Process()
        {
            var maxTime = (await _reportBll.GetStatisticsPurchaseGoodsMaxTime()).Date;

            while (maxTime < _startTime)
            {
                Execution().Wait();
                _endTime   = _startTime.AddSeconds(-1);
                _startTime = _startTime.AddDays(-1);
            }
        }