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

@@ -24,7 +24,8 @@ def _mk_sess(with_summary):
section_id INT, Number TEXT, Name TEXT, Total REAL, Specialty TEXT)""")
c.execute("""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)""")
c.execute("""CREATE TABLE s_lmes(id INTEGER PRIMARY KEY, session_id INT,
Number TEXT, Name TEXT, Specification TEXT, Unit TEXT, Kind INT,
NoTaxPrice REAL, TaxPrice REAL)""")