修复自动互换

This commit is contained in:
吴方海
2026-06-23 17:39:37 +08:00
parent 2f09bfa8d7
commit 76913010b2
@@ -375,7 +375,7 @@ namespace YLErp.Modules.SwapModule
/// <param name="tradeExtend">交易扩展信息</param>
private void DealAutoInterests(List<swap_flow_event> autoInterests, trade td, DateTime settleDate, DateTime? preDealDate, decimal StockEqvNotional, IntervalModel interval, List<eod_swap_position> curEodPositions, trade_extend tradeExtend)
{
if (autoInterests.Count == 0 && (curEodPositions == null || curEodPositions.All(x => x.PosiDividendSum == 0)))
if (autoInterests.Count == 0 ||curEodPositions == null )
{
return;
}