style(SwapTrade2Controller): 格式化注释代码块
- 将多行注释从块注释格式转换为单行注释格式 - 移除不必要的星号前缀保持代码整洁 - 维持原有的业务逻辑说明内容不变
This commit is contained in:
@@ -162,13 +162,13 @@ namespace YLErp.Web.Controllers
|
||||
renewTrade.trade_swap.FlowId = null;
|
||||
|
||||
// The renewed payment floating leg opens the opposite underlying side.
|
||||
/** 这里只需要对【支付】相关腿进行操作
|
||||
* 原收取腿不变
|
||||
* 支付 多头 = 空头
|
||||
支付 空头 = 多头
|
||||
收取 空头 = 空头
|
||||
收取 多头 = 多头
|
||||
*/
|
||||
// 这里只需要对【支付】相关腿进行操作
|
||||
// 原收取腿不变
|
||||
// 支付 多头 = 空头
|
||||
// 支付 空头 = 多头
|
||||
// 收取 空头 = 空头
|
||||
// 收取 多头 = 多头
|
||||
//
|
||||
if (renewTrade.trade_swap.IsPayFloatingProfit)
|
||||
{
|
||||
renewTrade.trade_swap.PayLongShort = ReverseLongShort(renewTrade.trade_swap.PayLongShort);
|
||||
|
||||
Reference in New Issue
Block a user