fix: 工单创建和飞书同步修复 + 日志精简

1. TSPAssistant.create_work_order 补齐 tenant_id 参数
2. workorder_sync._create_workorder 修复 SQLAlchemy session 泄漏(用 flush 替代 commit+refresh+expunge)
3. _find_existing_workorder 返回 order_id 字符串而非 ORM 对象
4. 飞书同步日志精简:
   - feishu_client API 请求/响应日志降为 DEBUG
   - flexible_field_mapper 字段映射日志降为 DEBUG
   - workorder_sync 字段转换日志降为 DEBUG
   - 只保留关键的创建/同步结果为 INFO
This commit is contained in:
2026-04-07 10:06:29 +08:00
parent 03aa5bd9dc
commit 4ac24d2413
17 changed files with 56 additions and 1260 deletions

Binary file not shown.