diff --git a/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs b/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs index a7a57a1b..2ce8322a 100644 --- a/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs +++ b/YLErpDAL/Modules/SwapModule/SwapEodPositionService.cs @@ -1731,7 +1731,7 @@ namespace YLErp.Modules.SwapModule settlements[i].RebateAmount = legs[i].InterestClosePnL * -DirectionRatio.ReceivePay(legs[i].InterestDirection); } var split = FundTagCalc.SplitUnwindByTag(settlements); - return Math.Round(totalRebate - Convert.ToDecimal(split.CreditRebate), 2, MidpointRounding.AwayFromZero); + return Math.Round(totalRebate - split.CreditRebate, 2, MidpointRounding.AwayFromZero); } /// /// 互换更新实时持仓信息