feat(lme): 落实「骨架不能创造数据」——工料机行采集并导出文字/标志属性,新增分层列集骨架匹配

This commit is contained in:
lianjianwei2024
2026-11-03 11:24:42 +08:00
parent dfd73d19ab
commit 5470286f66
29 changed files with 2091 additions and 147 deletions

View File

@@ -34,11 +34,11 @@ def _mk_sess():
code TEXT, name TEXT, spec TEXT, unit TEXT, kind INT,
qty REAL, ntp REAL, taxrate REAL, taxp REAL,
x_adopt_added INTEGER DEFAULT 0, x_merged_hide INTEGER DEFAULT 0, x_remark TEXT,
ntp_org REAL, ntp_expr REAL, taxp_org REAL, taxp_expr REAL)""")
ntp_org REAL, ntp_expr REAL, taxp_org REAL, taxp_expr REAL, x_flags 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, x_adopt_added INTEGER DEFAULT 0,
ntp_org REAL, ntp_expr REAL, taxp_org REAL, taxp_expr REAL)""")
ntp_org REAL, ntp_expr REAL, taxp_org REAL, taxp_expr REAL, x_flags TEXT)""")
c.execute("""CREATE TABLE s_lme_res(id INTEGER PRIMARY KEY, session_id INT,
p_code TEXT, res_code TEXT, qty REAL, seq INTEGER, name TEXT)""")
c.execute("""CREATE TABLE s_settings(scope TEXT NOT NULL, k TEXT NOT NULL, v TEXT,