1. 修复list_matching_results接口'Invalid column type Integer at index: 18, name: is_active'错误 - 修正template_matching_result_repository.rs中row_to_matching_result函数的is_active字段处理 - 使用rusqlite::types::Value枚举正确处理多种数据类型 2. 修复数据插入和读取的类型不一致问题 - 修正数据插入时将INTEGER字段转换为字符串的错误 - 统一数据类型:数字字段直接使用原始类型而非字符串 3. 实现应用匹配结果功能 - 修复ProjectDetails.tsx中handleApplyMatchingResult函数 - 调用save_matching_result API保存匹配结果到数据库 - 添加成功/失败通知提示 修复的具体问题: - template_matching_results表的is_active字段类型处理 - 数字字段(total_segments, matched_segments等)的类型转换 - quality_score字段的NULL值处理 - 前端应用匹配结果后保存到数据库的逻辑 |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| .gitignore | ||
| Cargo.toml | ||
| build.rs | ||
| tauri.conf.json | ||