#TRS-ZS-58 收盘操作:删除从衡泰获取数据等等功能

This commit is contained in:
汤旺
2024-05-22 17:59:07 +08:00
parent a8c2c0685a
commit 43629190e1
47 changed files with 71 additions and 5265 deletions
@@ -369,27 +369,9 @@ namespace YLErp.Modules.TradeModule.DealModule
swapEventService.AddSwapEventDate(openDate.Value, td.id, (int)SwapEventTypeEnum., "", 0, true, history);
if (addlog)
{
var pushLogService = new PushLogService(UserInfo);
var swapInsertEnum = SwapPushDataEnum.;
var posiInsertEnum = SwapPushDataEnum.;
var marginInsertEnum = SwapPushDataEnum.;
pushLogService.AddLog(td.id, swapInsertEnum, td.TradeNumber);
if (posiPositions.Any())
{
foreach (var position in posiPositions)
{
pushLogService.AddLog(position.id, posiInsertEnum, position.PosiNumber);
}
}
if (td.swap_positions.Any())
{
foreach (var position in td.swap_positions)
{
pushLogService.AddLog(position.id, marginInsertEnum, position.PosiNumber);
}
}
}
else
{