feat(lme): 决策183 六价全采按骨架属性对应回填,并支持合并状态按源文件哈希重放

This commit is contained in:
lianjianwei2024
2026-10-23 16:21:22 +08:00
parent 378855cd3e
commit 30de80cf32
20 changed files with 1098 additions and 213 deletions

View File

@@ -26,10 +26,12 @@ CREATE TABLE s_lme_res(id INTEGER PRIMARY KEY, session_id INT, p_code TEXT,
res_code TEXT, qty REAL, seq INT, name TEXT);
CREATE TABLE s_lme_uw(id INTEGER PRIMARY KEY, session_id INT, uw_id INT, code TEXT,
name TEXT, spec TEXT, unit TEXT, kind INT,
qty REAL, ntp REAL, taxrate REAL, taxp REAL);
qty REAL, ntp REAL, taxrate REAL, taxp REAL,
ntp_org REAL, ntp_expr REAL, taxp_org REAL, taxp_expr REAL);
CREATE TABLE s_lme_proj(id INTEGER PRIMARY KEY, session_id INT, code TEXT, name TEXT,
spec TEXT, unit TEXT, kind INT, qty REAL, ntp REAL, taxp REAL,
taxrate REAL, x_merged_hide INT DEFAULT 0);
taxrate REAL, x_merged_hide INT DEFAULT 0,
ntp_org REAL, ntp_expr REAL, taxp_org REAL, taxp_expr REAL);
"""