refactor(db)!: clean up business SQL access

- make realtime replacement and analysis result writes transactional\n- consolidate SCADA repositories and remove process-global project state\n- validate SCADA batches and use indexed GIS-backed business queries\n\nBREAKING CHANGE: remove the public analysis result writer and the pipeline-health network_name query parameter.
This commit is contained in:
2026-08-28 11:37:36 +08:00
parent b74799a39d
commit 9b095c7439
34 changed files with 859 additions and 921 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ from app.algorithms.water_demand import (
calculate_demand_to_nodes,
calculate_demand_to_region,
)
from app.infra.db.postgresql.scada_assets import (
from app.infra.db.postgresql.scada import (
get_all_scada_info,
get_scada_info,
get_scada_info_schema,