Refactor local InSAR asset and production workflows

This commit is contained in:
2026-06-21 12:30:21 +08:00
parent 65a8cc4eac
commit 71c524967c
88 changed files with 11165 additions and 3017 deletions
+3
View File
@@ -259,12 +259,15 @@ class TaskService:
task = result.scalar_one_or_none()
if task:
previous_message = task.message
if status:
task.status = status
if progress is not None:
task.progress = progress
if message:
task.message = message
if message != previous_message:
await self._add_log(task_id, "INFO", message, db=db)
# 如果任务结束,更新结束时间
if status in ["COMPLETED", "FAILED", "CANCELLED"]: