From 9ecaed5b2eba579160921b35f129d92d2aedffc9 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期五, 21 三月 2025 13:53:47 +0800 Subject: [PATCH] fix:bug修复 --- LifePayment/LifePayment.Application/LifePay/LifePayService.cs | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs index 2755ca3..b109dc8 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); @@ -935,6 +939,9 @@ case LifePayOrderTypeEnum.鐢佃垂璁㈠崟: desc += "鐢佃垂"; break; + case LifePayOrderTypeEnum.鐕冩皵璁㈠崟: + desc += "鐕冩皵"; + break; default: break; } -- Gitblit v1.9.1