From 430a0ee2578917bd7524515c3273e487c3f83171 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期二, 01 四月 2025 17:04:44 +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 4b9a3c5..6ebfa27 100644 --- a/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs +++ b/LifePayment/LifePayment.Application/LifePay/StatisticsService.cs @@ -125,12 +125,12 @@ { ReceiptsDetail receive = new ReceiptsDetail() { - CreationTime = item.CreationTime.ToString("yyyy-MM-dd"), + CreationTime = item.CreationTime.AddDays(-1).ToString("yyyy-MM-dd"), Amount = item.TotalReceiptsYesterday }; ReceiptsDetail income = new ReceiptsDetail() { - CreationTime = item.CreationTime.ToString("yyyy-MM-dd"), + CreationTime = item.CreationTime.AddDays(-1).ToString("yyyy-MM-dd"), Amount = item.TotalIncomeYesterday }; receiptsListOutPut.ReceiveList.Add(receive); @@ -162,7 +162,7 @@ { ReceiptsDetail receive = new ReceiptsDetail() { - CreationTime = item.CreationTime.ToString("yyyy-MM-dd"), + CreationTime = item.CreationTime.AddDays(-1).ToString("yyyy-MM-dd"), Amount = item.ChannlesRakePrice }; -- Gitblit v1.9.1