diff --git a/YLErpDAL/Modules/SwapModule/SwapTradeService.cs b/YLErpDAL/Modules/SwapModule/SwapTradeService.cs index 62250b7c..332873f5 100644 --- a/YLErpDAL/Modules/SwapModule/SwapTradeService.cs +++ b/YLErpDAL/Modules/SwapModule/SwapTradeService.cs @@ -391,7 +391,7 @@ namespace YLErp.Modules.SwapModule td.swap_positions.Add(floatPosition); swap_position interestPosition = new swap_position() { - InterestDirection = (int)SwapDirectionEnum.收取, + InterestDirection = flowMerge.BsType == (int)PositionTypeFlag.Long ? (int)SwapDirectionEnum.收取 : (int)SwapDirectionEnum.支付, InterestRateDefault = 0, InterestMode = (int)InterestModeEnum.标的期初全价, InterestPrincipalFix = 0,