From 05d3e9bc5248e50eecffdc94dad495c442ef9c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8D=E9=94=90?= <1565842059@qq.com> Date: Mon, 6 Jul 2026 16:49:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(swap):=20=E4=BF=AE=E5=A4=8D=E6=94=B6?= =?UTF-8?q?=E5=85=A5=E5=80=BC=E6=97=A5=E6=9C=9F=E8=AE=A1=E7=AE=97=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除非节假日调整逻辑,直接使用行使日期前一天作为最大收入值日期 - 简化日期计算流程,避免节假日调整导致的潜在错误 --- YLErpDAL/Modules/SwapModule/SwapDealService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YLErpDAL/Modules/SwapModule/SwapDealService.cs b/YLErpDAL/Modules/SwapModule/SwapDealService.cs index 48b18a45..16730262 100644 --- a/YLErpDAL/Modules/SwapModule/SwapDealService.cs +++ b/YLErpDAL/Modules/SwapModule/SwapDealService.cs @@ -115,7 +115,7 @@ namespace YLErp.Modules.SwapModule protected virtual DateTime GetMaxIncomeValueDate(trade td) { - return QdpCalendarHelper.GetNonHolidayDefore(td.ExerciseDate.Value.AddDays(-1)); + return td.ExerciseDate.Value.AddDays(-1); } #endregion