From 52bad380d87e670eac4043120ce02b8c024416a1 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期四, 27 三月 2025 10:00:27 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentApi

---
 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