checkpoint: 提交当前工作区代码(同义词配置初版 + 既有流程改动)

- 新增 inq_synonym 表、62组同义词种子与智能体只读接口
- Python 同义词加载/归一化与 1板/2箱 机读
- 同步当前分支既有协作、报价识别、陆运等改动
This commit is contained in:
linmianxun
2026-11-24 16:26:49 +08:00
parent d9b2029c47
commit 04e00f0cfc
69 changed files with 7126 additions and 395 deletions
@@ -648,12 +648,15 @@ class HttpLedger:
kind: str = "",
raw_text: str = "",
raw_source: str = "",
sender_id: str = "",
) -> dict[str, Any]:
"""
手工报价 / 销售调价写入主账新版本。
幂等键带合计和备注,避免连续调价被同一把钥匙吞掉。
raw_text:产品群内原话,主账只留档参考,不参与金额解析。
sender_id:本次报价人企微 userid。主账据此记「处理人」互动快照,
转人工拉群时只被拉进来、没报价的人不该出现在处理人列。
"""
src = dict(quote or {})
note = (remark or "").strip()
@@ -662,6 +665,8 @@ class HttpLedger:
"quote": src,
"toStatus": to_status,
}
if (sender_id or "").strip():
body["senderWecomId"] = sender_id.strip()
if note:
body["remark"] = note
if (kind or "").strip():