feat: 新增成交收益率字段

This commit is contained in:
gongpei
2025-10-11 15:07:44 +08:00
parent bbd3c40575
commit a2962cfc4b
11 changed files with 98 additions and 3 deletions
@@ -350,6 +350,7 @@ namespace YLErp.Modules.SwapModule
td.ValidState = "Valid";
td.TradeSource = "系统交易";
td.TradeStatus = ConsTrade.;
td.InitYtm = flowMerge.InitYtm ?? 0;
return td;
}
/// <summary>
@@ -384,7 +385,8 @@ namespace YLErp.Modules.SwapModule
OptTime = DateTime.Now,
OptId = UserInfo.UserId,
OptName = UserInfo.UserName,
UnderlyingInstrumentType = underlying.UnderlyingInstrumentType
UnderlyingInstrumentType = underlying.UnderlyingInstrumentType,
InitYtm = flowMerge.InitYtm ?? 0
};
td.swap_positions.Add(floatPosition);
swap_position interestPosition = new swap_position()