refactor(scud): изоляция тяжелых SQL-шаблонов Орион в sql_queries и разгрузка scud_export

This commit is contained in:
2026-09-11 15:42:14 +03:00
parent aa1141fb88
commit b1796de852
2 changed files with 83 additions and 31 deletions
+1
View File
@@ -23,6 +23,7 @@ import pandas as pd
import pyodbc
import xlsxwriter
from services.scud_etl.sql_queries import SQL_QUERY_TEMPLATE, SQL_RAW_EVENTS_QUERY
from config import SCUD_DIR, clean_scud_fio_light, load_exceptions
from core.database import save_scud_to_db, has_scud_logs_for_date, has_yesterday_final_snapshot
from core.repositories.scud_repo import save_raw_events_to_db