From 57fb27ac6874642d190533df66aa087c6ec94813 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期五, 21 三月 2025 12:28:10 +0800
Subject: [PATCH] 退款订单列表

---
 LifePayment/LifePayment.Application/LifePay/LifePayService.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
index 2755ca3..8005a7d 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;
         }
     }

--
Gitblit v1.9.1