Browse Source

-dev:修复了导出问题

LuoChinWen 2 weeks ago
parent
commit
4a901a689b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/services/external_service.py

+ 1 - 1
backend/services/external_service.py

@@ -437,7 +437,7 @@ class ExternalService:
                     annotation_result = json.loads(row["annotation_result"]) if row["annotation_result"] else {}
                     tasks_data[task_id]["annotations"].append(annotation_result)
                     if row["annotation_time"]:
-                        tasks_data[task_id]["completed_at"] = row["annotation_time"]
+                        tasks_data[task_id]["completed_at"] = str(row["annotation_time"])
             
             # 转换为列表
             export_data = list(tasks_data.values())