diff --git a/YLErpDAL/Modules/SwapModule/ARCHITECTURE.md b/YLErpDAL/Modules/SwapModule/ARCHITECTURE.md index 4161dfb8..43f2b474 100644 --- a/YLErpDAL/Modules/SwapModule/ARCHITECTURE.md +++ b/YLErpDAL/Modules/SwapModule/ARCHITECTURE.md @@ -36,7 +36,7 @@ TRS 的三类业务各自独立,通过 SwapInterest 纯函数库共享计息 **命名规则(防歧义)**: - `Funding` = 融资成本(不用 Interest,避免和通用"利息"混) - `Return` = 标的总回报(不用 Float,避免和 FR007 浮动利率混) -- `Margin` = 保证金(不用 Notional/Principal,保证金没有"计息基数"概念) +- `Margin` = 保证金(客户交的抵押品,有余额和返息,不走融资腿的计息基数框架) - `FloatRate` = FR007 浮动利率(唯一含义) ## 目录结构 diff --git a/YLErpDAL/Modules/SwapModule/SwapTradeBaseService.cs b/YLErpDAL/Modules/SwapModule/SwapTradeBaseService.cs index 859824f8..529374a7 100644 --- a/YLErpDAL/Modules/SwapModule/SwapTradeBaseService.cs +++ b/YLErpDAL/Modules/SwapModule/SwapTradeBaseService.cs @@ -322,7 +322,7 @@ namespace YLErp.Modules.SwapModule #endregion - public int AddClientCashInCashOut(OtcTradeBase td, double amount, string action, DateTime valueDate) + public virtual int AddClientCashInCashOut(OtcTradeBase td, double amount, string action, DateTime valueDate) { var cl = DataCacheProvider.GetClientDataSource().GetData(td.ClientId);