瀏覽代碼

-dev:修复了导出问题

LuoChinWen 2 周之前
父節點
當前提交
4a901a689b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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())