fix(swap): 修复预付金腿计息基数计算问题

- 在多个单元测试文件中添加InterestIncomeSum字段以保持数据一致性
- 修改GLMS20260105PartialCloseDividendBugTest测试,改进EOD快照验证逻辑
- 修复SwapDealService中预付金腿的orginPv计算逻辑,使用上一日保证金本金作为基准
- 更新SwapPositionComposeScenarioTest中的测试数据结构和利率设置
- 修正平仓日利息计算精度问题,使用Math.Round确保计算准确性
This commit is contained in:
张名锐
2026-08-09 22:28:40 +08:00
parent 2c4cd56111
commit 2ee38384ac
5 changed files with 28 additions and 16 deletions
@@ -250,6 +250,7 @@ namespace YLErp.Modules.SwapModule
FloatRate = floatRate,
TdInterestPrincipal = tdPrincipal,
PosiNotionalValue = tdPrincipal,
InterestIncomeSum = interestSum,
InterestProfitSum = interestSum
};
}