mixvideo-v2/apps/desktop/src-tauri
imeepos 3e6c05c4ac fix: 修复模板匹配结果相关的数据类型错误
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值处理
- 前端应用匹配结果后保存到数据库的逻辑
2025-07-16 14:05:01 +08:00
..
capabilities fix: 修复项目详情页打开文件夹功能 2025-07-13 22:00:30 +08:00
icons Initial commit: MixVideo Desktop v0.1.0 2025-07-13 17:57:52 +08:00
src fix: 修复模板匹配结果相关的数据类型错误 2025-07-16 14:05:01 +08:00
.gitignore Initial commit: MixVideo Desktop v0.1.0 2025-07-13 17:57:52 +08:00
Cargo.toml fix: 修复缩略图显示权限问题,使用base64数据URL 2025-07-15 22:38:22 +08:00
build.rs Initial commit: MixVideo Desktop v0.1.0 2025-07-13 17:57:52 +08:00
tauri.conf.json fix: 修复缩略图显示权限问题,使用base64数据URL 2025-07-15 22:38:22 +08:00