重构现代化 FastAPI 后端项目框架

This commit is contained in:
2026-01-21 16:50:57 +08:00
parent 9e06e68a15
commit c56f2fd1db
352 changed files with 176 additions and 70 deletions

View File

@@ -0,0 +1,13 @@
-- [PIPE_RISK_PROBABILITY]
-- 王名豪
-- 2025/04/16
-- 存储管道风险评价结果
CREATE TABLE pipe_risk_probability (
id SERIAL PRIMARY KEY,
pipeID VARCHAR(255),
pipeage FLOAT,
risk_probability_now FLOAT,
x FLOAT[], -- Since x is a list, it's stored as text (stringified list)
y FLOAT[] -- Similarly, y will be stored as text (stringified list)
);