Commit Graph

3 Commits

Author SHA1 Message Date
4ac24d2413 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
2026-04-07 10:06:29 +08:00
赵杰 Jie Zhao (雄狮汽车科技)
a4261ef06f feat: optimize AI suggestion and workorder sync - support same-day multiple update numbering - insert new suggestions at top maintaining reverse chronological order - reference process history when generating suggestions - simplify prompts to avoid forcing log analysis - fix Chinese comment encoding issues 2025-10-27 10:34:33 +08:00
赵杰 Jie Zhao (雄狮汽车科技)
9ca36042e3 refactor: 清理不需要的代码文件,添加.gitignore,优化项目结构 2025-09-16 17:05:50 +01:00