修复自动互换
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user