zhengyuxuan
2025-03-28 6803ee52d2061fb811440fd17aede81250f0a53b
LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs
@@ -100,6 +100,31 @@
            }
        }
        //public async Task<LifePayExpensesReceiptsPageOutput<LifePayExpensesReceiptsListOutput>> GetLifePayExpensesReceiptsPage(LifePayExpensesReceiptsPageInput input)
        //{
        //    var list = await _lifePayExpensesReceiptsRepository.Where(x => x.IsDeleted == false)
        //        .WhereIf(input.KeyWord.IsNotNullOrEmpty(), x => x.OrderNo.Contains(input.KeyWord))
        //        .WhereIf(input.CreationTimeBegin.HasValue, x => x.CreationTime >= input.CreationTimeBegin)
        //        .WhereIf(input.CreationTimeEnd.HasValue, x => x.CreationTime <= input.CreationTimeEnd)
        //        .Select(x => new LifePayRechargeReceiptsListOutput()
        //        {
        //            Id = x.Id,
        //            OrderNo = x.OrderNo,
        //            RechargeAmount = x.RechargeAmount,
        //            Remark = x.Remark,
        //            Voucher = x.Voucher.GetOssPath(),
        //            CreationTime = x.CreationTime,
        //        })
        //        .GetPageResult(input.PageModel);
        //    var total = await _lifePayRechargeReceiptsRepository.Where(x => x.IsDeleted == false).SumAsync(x => x.RechargeAmount);
        //    LifePayRechargeReceiptsPageOutput<LifePayRechargeReceiptsListOutput> result = new LifePayRechargeReceiptsPageOutput<LifePayRechargeReceiptsListOutput>();
        //    result.Data = list.Data;
        //    result.TotalRechargeAmount = total;
        //    return result;
        //}
        /// <summary>
        /// 插入收支流水
        /// </summary>