修复: TaskResponse补remark字段 + 记录按时间降序取最新一条(latestRecord)

This commit is contained in:
2026-08-05 15:37:10 +08:00
parent e5b201a040
commit f736cf0c13
2 changed files with 14 additions and 9 deletions

View File

@ -123,6 +123,7 @@ class TaskResponse(BaseModel):
status: str
notify_parent_on_complete: bool
is_rework: bool = False
remark: str | None = None
reject_reason: str | None = None
received_at: datetime | None = None
completed_at: datetime | None = None