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/LifePayOrderService.cs | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs index cef804e..8ccc68d 100644 --- a/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs +++ b/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs @@ -338,6 +338,9 @@ } } + + + /// <summary> /// 缁熻鎵�鏈夋秷璐规祦姘� /// </summary> @@ -429,6 +432,10 @@ } } + /// <summary> + /// 鑾峰彇鍏ㄩ儴娓犻亾鍒嗕剑 + /// </summary> + /// <returns></returns> public async Task GetAllChannlesRake() { var orderlist = await _lifePayOrderRepository.Where(x => x.IsDeleted == false && x.PayStatus == LifePayStatusEnum.宸叉敮浠� && x.LifePayOrderStatus == LifePayOrderStatusEnum.宸插畬鎴�).ToListAsync(); @@ -444,9 +451,9 @@ LifePayChannlesRake lifePayChannlesRake = new LifePayChannlesRake() { OrderNo = item.OrderNo, - PayAmount = item.PayAmount.Value, - ChannlesRakeRate = item.ChannlesRakeRate.Value, - ChannlesRakePrice = channlesRakePrice.Value, + PayAmount = item.RechargeAmount ?? 0, + ChannlesRakeRate = item.ChannlesRakeRate ?? 0, + ChannlesRakePrice = channlesRakePrice ?? 0, FinishTime = item.FinishTime.Value, ChannelId = item.ChannelId, }; -- Gitblit v1.9.1