hjhan
59c16aabc1
refactor(interest): SwapDealService 6处取价收敛到 IIndexFixer
修正上次尝试的失败: 静态 Fr007IndexFixer.Instance 绕过了
TryGetFloatRate(virtual)接缝, 导致测试 stub 失效(CI_007/CI_008失败)。
本次方案: 新增 SwapDealIndexFixer(实例级, 委托 TryGetFloatRate):
- SwapDealService.IndexFixer 属性 lazy 初始化, 包 SwapDealIndexFixer
- 6处 GetNonHolidayDefore+TryGetFloatRate 全部替换为 IndexFixerBase+IndexFixer
- TryGetFloatRate(protected virtual)保留不动, 测试 stub 机制完全不受影响
验证: CI_007/CI_008 从失败转为通过, 全量480测试7失败(与基线一致,零回归)。
SwapDealService 内 GetNonHolidayDefore 出现次数: 6 → 0(全部收敛到 IndexFixerBase)。
2026-08-11 09:17:42 +08:00
..
2024-05-09 14:06:26 +08:00
2026-08-10 14:15:42 +08:00
2025-09-02 18:01:22 +08:00
2026-03-11 15:04:10 +08:00
2024-05-09 14:06:26 +08:00
2026-05-22 14:02:23 +08:00
2026-07-28 14:50:05 +08:00
2026-08-07 17:44:04 +08:00
2026-08-06 10:58:44 +08:00
2025-07-25 13:40:56 +08:00
2025-04-22 09:45:21 +08:00
2026-08-11 09:17:42 +08:00
2024-05-09 14:06:26 +08:00
2026-05-08 15:09:58 +08:00
2026-03-20 14:07:43 +08:00
2026-03-13 16:06:33 +08:00
2025-09-09 13:07:21 +08:00
2024-05-09 14:06:26 +08:00
2024-05-09 14:06:26 +08:00
2026-07-31 11:02:49 +08:00