diff --git a/YLErpDAL/Modules/SwapModule/SwapDealService.cs b/YLErpDAL/Modules/SwapModule/SwapDealService.cs index 99d25b3e..efaa7d3e 100644 --- a/YLErpDAL/Modules/SwapModule/SwapDealService.cs +++ b/YLErpDAL/Modules/SwapModule/SwapDealService.cs @@ -906,8 +906,15 @@ namespace YLErp.Modules.SwapModule /// /// 根据计息模式计算名义本金。 - /// 融资腿(mode 1/2/9)已委托 FundingLegStrategyFactory;保证金(mode 5/6)和 - /// 半禁用的多空存续(mode 7/8)暂保留原逻辑,待 Margin 上下文接入后再迁出。 + /// + /// 现状(过渡期): + /// - 融资腿(mode 1/2/9)已委托 FundingLegStrategyFactory,走新策略体系。 + /// - 保证金(mode 5/6)暂保留——待 Margin 独立计息入口建成后迁出。 + /// - 多空存续(mode 7/8)界面已禁用,保留 case 仅为防御性兜底。 + /// - 死代码(mode 3/4)走 default。 + /// + /// 待保证金(mode 5/6)迁入 Margin 上下文后,本方法可整体删除, + /// 调用点直接走 FundingLegStrategyFactory.Get(mode)。 /// private (decimal close, decimal posi, decimal closePct) CalcNotionalByMode(swap_position position, decimal closePercent, decimal posiNotional, decimal posiLong, decimal posiShort) {