From f8e21d7b31d7690e17f5980aeb5763036dda99f0 Mon Sep 17 00:00:00 2001 From: liushijie <lslola@126.com> Date: 星期四, 27 三月 2025 09:12:14 +0800 Subject: [PATCH] fix bug --- 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