hjhan
44e24b3172
refactor(margin): MarginModes 反转依赖 ConsTrade.InterestMarginModels 并删除 premiumModes 硬编码副本
- MarginModes.All/ForLinq/FixedAmountAndMargin 改为由框架常量 ConsTrade.InterestMarginModels 派生,消除 DAL 层独立重写集合(单一真源在 Core 层,本类退化为形态包装,避免新增保证金形态时口径分裂)
- SwapEodPositionService.premiumModes 局部 new List 字面量替换为 MarginModes.ForLinq(DAL 内部冗余副本消除)
- 重写 MarginModes.cs 过时的“复制 6 次/待收敛”注释,改为记录依赖方向与收敛历史;ForLinq 注释改为“派生自框架常量,仅做形态适配”
- 更新 MarginModesTest 类注释与一致性测试注释以反映派生关系
- 验证:YLErpDAL/UnitTestProject 编译 0 错误;MarginModesTest 5/5 通过
2026-08-16 10:47:45 +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
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-15 12:48:44 +08:00
2026-07-03 08:22:27 +08:00
2026-08-16 10:47:45 +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-07 19:44:01 +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-12 09:45:19 +08:00
2026-08-15 12:48:44 +08:00
2024-05-09 14:06:26 +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