zhengyuxuan
2025-03-27 fdb74a7ec549f51633362707d97de94fd51bc95c
LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs
@@ -2,9 +2,6 @@
using LifePayment.Domain.LifePay;
using LifePayment.Domain.Models;
using LifePayment.Domain.Shared;
using LifePayment.Domain;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -44,16 +41,17 @@
                    OrderNo = x.OrderNo,
                    RechargeAmount = x.RechargeAmount,
                    Remark = x.Remark,
                    Voucher = x.Voucher,
                    Voucher = x.Voucher.GetOssPath(),
                })
                .GetPageResult(input.PageModel);
            return list;
        }
        //public async Task GetTotalLifePayRechargeReceipts()
        //{
        //}
        public async Task<decimal> GetTotalLifePayRechargeReceipts()
        {
            var result = await _lifePayRechargeReceiptsRepository.Where(x => x.IsDeleted == false).SumAsync(x => x.RechargeAmount);
            return result;
        }
        /// <summary>
        /// 编辑充值流水