| | |
| | | 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; |
| | |
| | | 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> |
| | | /// 编辑充值流水 |