Мастер, шаг 3 DEPO — по экранам: описание → подключение (проверка сразу) → таблицы (bj или скрипт) → обработка (job) → готово; справочник участников M2M встроен снимком для чистой установки
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014FsEKyJrYF69Cj9ZXzFLRi
This commit is contained in:
@@ -273,7 +273,7 @@ func depoUpsertOrder(rc *RuntimeConfig, guid, direction, cpCode, deponentName, d
|
||||
|
||||
// handbookCodeByINN — MC-код депозитария по ИНН из сохранённого справочника.
|
||||
func handbookCodeByINN(inn string) string {
|
||||
raw, err := os.ReadFile(handbookFile)
|
||||
raw, err := readHandbook()
|
||||
if err != nil {
|
||||
return ""
|
||||
}
|
||||
@@ -542,7 +542,7 @@ func depoPollOrders(ctx context.Context, db *sql.DB, rc *RuntimeConfig) {
|
||||
var depoHandbookWritten time.Time
|
||||
|
||||
func depoWriteHandbook(rc *RuntimeConfig) error {
|
||||
raw, err := os.ReadFile(handbookFile)
|
||||
raw, err := readHandbook()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user