From bfd823a681cdc2d86a8af398e50a9c151cb41aac Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期四, 03 四月 2025 13:39:26 +0800 Subject: [PATCH] 暂存 --- LifePayment/LifePayment.Application/LifePay/StatisticsService.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs b/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs index c1e6c49..fb39436 100644 --- a/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs +++ b/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs @@ -144,14 +144,16 @@ foreach (var item in groupedStatistics) { + /// 瀹為檯鏀舵鏃ユ湡 + var creationTime = item.CreationTime.AddDays(-1).ToString("yyyy-MM-dd"); ReceiptsDetail receive = new ReceiptsDetail() { - CreationTime = item.CreationTime.AddDays(-1).ToString("yyyy-MM-dd"), + CreationTime = creationTime, Amount = item.TotalReceiptsYesterday }; ReceiptsDetail income = new ReceiptsDetail() { - CreationTime = item.CreationTime.AddDays(-1).ToString("yyyy-MM-dd"), + CreationTime = creationTime, Amount = item.TotalIncomeYesterday }; receiptsListOutPut.ReceiveList.Add(receive); -- Gitblit v1.9.1