hjhan
0418d9f3d3
refactor(swap): InterestCalcMode 算头算尾解析收口至 TradeExtendJson.CalcFirst/CalcLast
三处重复的 StartsWith/EndsWith 字符串解析(GetInterests / InitInterestDate /
SwapEodPositionService EOD平仓后结息)收口为 TradeExtendJson 计算属性:
- [JsonIgnore] 保证 ExtendJson 序列化字节不变;
- InitInterestDate 原写法在 InterestCalcMode 为显式 null 时会 NRE,
收口后与其他两处 null-安全语义对齐(缺省=算头算尾,实际不可达,属性缺省 11)。
EQD-6968 三判定之一的"算不算尾"至此单点可查。
验证:内存套件 102/102 全绿(GLMS20260817Fr007 23 + Cache 7 + CloseInterest/
InterestScenario/TailSnapshot/EntrySemantics 72)
2026-08-19 09:31:38 +08:00
..
2026-08-14 15:31:04 +08:00
2026-08-12 15:24:15 +08:00
2025-08-29 14:43:24 +08:00
2026-08-14 15:14:09 +08:00
2026-08-16 10:47:45 +08:00
2026-08-12 15:03:00 +08:00
2026-08-14 15:31:04 +08:00
2026-08-12 17:31:39 +08:00
2026-08-12 16:46:13 +08:00
2026-08-15 13:44:53 +08:00
2024-05-09 14:06:26 +08:00
2026-08-10 18:01:37 +08:00
2026-08-14 17:30:46 +08:00
2026-08-17 17:36:41 +08:00
2025-09-11 14:18:51 +08:00
2026-08-14 15:31:04 +08:00
2024-05-09 14:06:26 +08:00
2026-07-23 11:06:50 +08:00
2026-08-11 09:23:01 +08:00
2026-08-19 09:31:38 +08:00
2026-07-03 08:22:27 +08:00
2026-08-19 09:31:38 +08:00
2026-08-11 09:40:48 +08:00
2026-08-06 17:45:43 +08:00
2025-04-14 16:31:35 +08:00
2026-07-29 14:42:03 +08:00
2026-07-23 11:06:50 +08:00
2026-08-18 08:24:21 +08:00
2026-07-21 15:28:14 +08:00
2026-07-22 16:51:40 +08:00
2024-05-09 14:06:26 +08:00
2026-08-15 12:48:44 +08:00
2024-05-09 14:06:26 +08:00
2026-01-26 17:35:56 +08:00
2026-07-23 11:06:50 +08:00
2026-08-19 09:31:38 +08:00
2026-08-15 12:48:44 +08:00
2024-05-09 14:06:26 +08:00
2026-08-16 12:19:28 +08:00
2026-08-12 16:26:12 +08:00
2024-05-09 14:06:26 +08:00
2024-06-04 18:19:49 +08:00
2026-08-12 16:26:12 +08:00