From 8b923699a5ff894ca839b4b5ce79979d5dd20459 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期五, 21 三月 2025 13:26:18 +0800 Subject: [PATCH] fix:bug修复 --- LifePayment/LifePayment.Application/LifePay/LifePayService.cs | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs index 2755ca3..4cf07aa 100644 --- a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs +++ b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs @@ -120,12 +120,13 @@ YesterdayFail = yesterdayFail.ToString(), AccumulatedUsers = accumulatedUsers.ToString(), }; - - return new TopStatisticsOutput(); + await _dallyStatisticsRepository.InsertAsync(entity); + var result = ObjectMapper.Map<DallyStatistics, TopStatisticsOutput>(entity); + return result; } else { - var result = ObjectMapper.Map<DallyStatistics,TopStatisticsOutput>(statistics); + var result = ObjectMapper.Map<DallyStatistics, TopStatisticsOutput>(statistics); return result; } } @@ -357,6 +358,7 @@ CreationTime = a.CreationTime, RefundCheckRemark = a.RefundCheckRemark, RefundApplyRemark = a.RefundApplyRemark, + RefundApplyTime = a.RefundApplyTime, RefundTime = a.RefundTime, ChannelName = b.ChannlesName, ActualRechargeAmount = a.ActualRechargeAmount, @@ -407,6 +409,7 @@ RefundPrice = order.RefundPrice, PlatformRate = platformRate.Rate, PlatformPrice = order.PlatformDeductionAmount, + ElecBillUrl = order.ElecBillUrl.GetOssPath(), ChannleRate = channle.ChannlesRate, ChannlesRakeRate = channle.ChannlesRakeRate, ChannlesRakePrice = channlesRakePrice.HasValue ? 0 : Math.Round(channlesRakePrice.Value, 2), @@ -456,6 +459,7 @@ LifePayRefundStatus = order.LifePayRefundStatus, ActualRechargeAmount = order.ActualRechargeAmount, RefundPrice = order.RefundPrice, + ElecBillUrl = order.ElecBillUrl.GetOssPath(), }; return result; @@ -736,7 +740,7 @@ var elecInfoInput = new DataBillErceiptApplyInput { Type = "FUND_DETAIL", - Key = orderNo + Key = order.OutOrderNo }; var elecInfoOutput = await _alipayInterfaceManager.DataBillErceiptApply(elecInfoInput); -- Gitblit v1.9.1