From 0497d15d3b0341cb4ab99142a25463620229fcf3 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期四, 27 三月 2025 13:29:53 +0800 Subject: [PATCH] fix:获取累计充值流水 --- 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