From 9ae09cab250590a8b6a5e7bd33139578f5200011 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期四, 27 三月 2025 10:27:25 +0800
Subject: [PATCH] Merge branch 'master' into dev-lifepay-v1.3

---
 LifePayment/LifePayment.Application/LifePay/StatisticsService.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs b/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs
index a5aa6a3..f6fec66 100644
--- a/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs
+++ b/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs
@@ -65,9 +65,9 @@
                     Id = GuidGenerator.Create(),
                     CreationTime = DateTime.Now,
                     Amount = 0,
-                    AccumulatedReceipts = accumulatedReceipts,
-                    AccumulatedIncome = accumulatedIncome,
-                    ReceiptsYesterday = receiptsYesterday,
+                    AccumulatedReceipts = accumulatedReceipts??0,
+                    AccumulatedIncome = accumulatedIncome ?? 0,
+                    ReceiptsYesterday = receiptsYesterday ?? 0,
                     AccumulatedOrders = accumulatedOrders,
                     OrdersNumYesterday = ordersNumYesterday,
                     YesterdaySuccess = yesterdaySuccess,

--
Gitblit v1.9.1