From e7d1ef3eef4dcbec4f7fae27542e94cc0bbf89c8 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期三, 02 四月 2025 17:18:19 +0800 Subject: [PATCH] fix:bug修复 --- LifePayment/LifePayment.Application/LifePay/StatisticsService.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs b/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs index 021fbd7..01e43a9 100644 --- a/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs +++ b/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs @@ -87,7 +87,7 @@ /// 璐︽埛浣欓 var accountBalance = totalRechargeReceipts - await _lifePayOrderRepository.Where(x => x.PayStatus == LifePayStatusEnum.宸叉敮浠� && (x.ACOOLYStatus == ACOOLYStatusEnum.鍏呭�兼垚鍔� || x.ACOOLYStatus == ACOOLYStatusEnum.宸插畬鎴� || x.ACOOLYStatus == ACOOLYStatusEnum.閮ㄥ垎鍏呭�兼垚鍔�)) - .SumAsync(x => x.PayAmount); + .SumAsync(x => x.PlatformDeductionAmount); topStatisticsOutput.Amount = accountBalance ?? 0; } @@ -114,7 +114,7 @@ /// 璐︽埛浣欓 var accountBalance = totalRechargeReceipts - await _lifePayOrderRepository.Where(x => x.PayStatus == LifePayStatusEnum.宸叉敮浠� && (x.ACOOLYStatus == ACOOLYStatusEnum.鍏呭�兼垚鍔� || x.ACOOLYStatus == ACOOLYStatusEnum.宸插畬鎴� || x.ACOOLYStatus == ACOOLYStatusEnum.閮ㄥ垎鍏呭�兼垚鍔�)) - .SumAsync(x => x.PayAmount); + .SumAsync(x => x.PlatformDeductionAmount); topStatisticsOutput.Amount = accountBalance ?? 0; } -- Gitblit v1.9.1