山证bug修复及功能 迁移
This commit is contained in:
@@ -97,7 +97,7 @@ namespace YLErp.Modules.SwapModule
|
||||
tradeIds = swapEvents.Select(s => s.SwapTradeId).ToList();
|
||||
var swaptrades = DbContext.trade.Where(x => tradeIds.Contains(x.id) && x.ClientId == swapFlow.ClientId && x.UnderlyingCode == swapFlow.UnderlyingCode && x.ValidState != ConsGlobal.InValid).AsNoTracking().ToList();
|
||||
tradeIds = swaptrades.Select(s => s.id).ToList();
|
||||
new SwapTradeAutoService(OptUserInfo.SystemUser).ResetTradeByDate(swapFlow.OccurTime.Value, null, tradeIds);
|
||||
new SwapTradeAutoService(OptUserInfo.SystemUser).ResetTradeByDate(swapFlow.OccurTime.Value, swapFlow.ClientId, swapFlow.UnderlyingCode, null, tradeIds);
|
||||
}
|
||||
var _swapFlow = DbContext.swap_flow.Where(x => x.trs_deal_id == swapFlow.trs_deal_id).FirstOrDefault();
|
||||
if (_swapFlow != null)
|
||||
|
||||
Reference in New Issue
Block a user