修复平仓时计息使用事件日期

This commit is contained in:
gongpei
2025-10-23 22:42:27 +08:00
parent de184dfdd6
commit 1bbdd47497
2 changed files with 32 additions and 33 deletions
@@ -914,7 +914,7 @@ namespace YLErp.Modules.SwapModule
{
throw new ArgumentNullException("平仓日期缺失");
}
var date = flowEvent.UnwindDate.GetValueOrDefault();
var date = flowEvent.EventDate;
BondPaymentService servie = new BondPaymentService(UserInfo);
var payments = servie.GetBondPayments(flowEvent.UnderlyingCode, td.StartDate.Value, date);