Шаг QUIK: без подключённой базы МНП справочник получателей не «сверяется с 0 депозитариев», а написано, что bj заполнит его после подключения; «Подготовка модулей»: строка ядра без «с образа»

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-10-05 19:35:52 +03:00
parent 658b4d13ea
commit 2f5e40179f
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -115,6 +115,9 @@ func quikRecipientsRun(ctx context.Context, rc *RuntimeConfig, why string) {
if rc == nil || !moduleAllowed(rc, "quik-mnp") || time.Now().Hour() >= quikRecipientsLastHour {
return
}
if strings.TrimSpace(rc.Snapshot().Quik.Server) == "" { // МНП не подключён — сверять не с чем
return
}
quikRecipientsState.Lock()
if quikRecipientsState.running {
quikRecipientsState.Unlock()
@@ -166,6 +169,9 @@ func (s *Server) quikRecipientsLoop(ctx context.Context) {
// quikRecipientsInfo — строка о справочнике получателей для страницы «Поручения QUIK».
func quikRecipientsInfo() string {
if globalRC != nil && strings.TrimSpace(globalRC.Snapshot().Quik.Server) == "" {
return "Справочник депозитариев-получателей M2M в МНП bj заполнит сам, как только будет подключена база МНП (выше)."
}
quikRecipientsState.Lock()
defer quikRecipientsState.Unlock()
st := struct {