hjhan
22f22bc9c5
refactor(margin): ConsTrade.InterestMarginModels 4处引用收敛到 MarginModes
上次失败根因: EodClientBalanceCalc:134 是 EF Core LINQ 表达式,
HashSet.Contains 无法翻译成 SQL, 导致场景3/4 全红。
修正: MarginModes 新增 ForLinq(List<int>) 供 EF Core 翻译用。
- SwapEodPositionService 2处纯函数(非LINQ): 用 MarginModes.Contains
- EodClientBalanceCalc LINQ表达式: 用 MarginModes.ForLinq.Contains
- RealTimeClientBanlanceService(已ToList,内存集合): 用 MarginModes.Contains
ConsTrade.InterestMarginModels 产品代码引用: 4处 → 0(只剩定义+注释)。
保证金mode判断 {初始预付金,追加预付金} 现在统一由 MarginModes 提供。
验证: sln编译0错误, 全量485测试7失败(基线一致,零回归)。
2026-08-11 09:57:20 +08:00
..
2026-08-10 22:09:09 +08:00
2026-08-11 09:27:25 +08:00
2026-07-17 10:59:18 +08:00
2026-08-10 11:08:46 +08:00
2026-07-23 11:16:11 +08:00
2026-07-27 13:18:32 +08:00
2026-07-23 11:16:11 +08:00
2026-08-07 23:00:28 +08:00
2026-07-23 11:16:11 +08:00
2026-07-23 11:16:11 +08:00
2026-08-09 22:07:19 +08:00
2026-08-07 17:44:04 +08:00
2026-08-09 22:28:40 +08:00
2026-08-09 22:28:40 +08:00
2026-07-23 11:16:11 +08:00
2026-08-09 22:28:40 +08:00
2026-07-17 10:59:18 +08:00
2026-07-20 18:41:16 +08:00
2026-08-07 19:00:31 +08:00
2026-07-02 09:37:18 +08:00
2026-07-21 15:28:15 +08:00
2026-07-21 15:28:15 +08:00
2026-07-17 08:23:50 +08:00
2026-08-05 18:26:15 +08:00
2026-07-03 09:38:05 +08:00
2026-07-03 09:26:13 +08:00
2026-07-02 09:20:41 +08:00
2026-07-23 11:16:11 +08:00
2026-08-10 13:17:12 +08:00
2026-08-08 15:46:54 +08:00
2026-07-03 09:38:05 +08:00
2026-07-01 17:07:55 +08:00
2026-08-09 16:06:09 +08:00
2026-06-26 09:13:37 +08:00
2026-02-13 18:12:00 +08:00
2026-07-17 08:40:19 +08:00
2026-07-21 15:28:13 +08:00
2026-07-21 15:28:14 +08:00
2026-08-06 14:44:30 +08:00
2026-08-08 09:31:43 +08:00
2026-08-11 09:57:20 +08:00
2026-07-01 13:38:24 +08:00
2026-08-09 22:28:40 +08:00
2026-07-21 15:28:17 +08:00
2026-07-21 15:28:13 +08:00
2026-08-08 09:31:43 +08:00
2026-07-16 13:00:21 +08:00
2026-07-16 11:09:47 +08:00
2026-08-10 18:01:37 +08:00
2026-08-07 13:46:24 +08:00
2026-07-21 15:28:13 +08:00
2026-07-03 18:12:52 +08:00
2026-08-10 11:08:46 +08:00
2026-07-03 09:26:13 +08:00
2026-07-03 09:20:59 +08:00