Тест «боевой ЛК → TEST3»: заявки выбранных клиентов ЕСИА Финанс — у нас всё по-настоящему (DEPO, QUIK МНП боевая запись только для них), в НРД с подменой инвестора на тест-клиента; «Исполнена» в ЛК по MS010; повтор отправки тоже с подменой; пометка и шаги ЛК в пути заявки; включатель на «Тестирование M2M»

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FsEKyJrYF69Cj9ZXzFLRi
This commit is contained in:
zuevav
2026-09-29 13:10:06 +03:00
parent 340fca7bd7
commit 91d8584a9c
15 changed files with 485 additions and 21 deletions
+8 -1
View File
@@ -335,7 +335,14 @@ func orderWatchCheck(ctx context.Context, rc *RuntimeConfig, guid, direction str
latest = st.MS010At
}
}
globalOrderWatch.update(guid, func(w *OrderWatch) { w.MS010At = latest })
w = globalOrderWatch.update(guid, func(w *OrderWatch) { w.MS010At = latest })
if direction == "out" { // тест «боевой ЛК → TEST3»: итог в ЛК — по исполнению НРД (realtest.go)
partial := ""
if total, executed, rejected, _ := w.linesSummary(); total > 1 && executed > 0 && rejected > 0 {
partial = fmt.Sprintf("исполнено %d из %d бумаг", executed, total)
}
go realTestOnExecuted(context.Background(), rc, guid, w.Rejected, partial)
}
return
}