fix: human_tasks无updated_at列改用submitted_at

This commit is contained in:
yumoqing 2026-09-03 19:17:34 +08:00
parent 9a1acf792d
commit b1ba0558b5

View File

@ -787,7 +787,7 @@ async def reconcile_project(sor, project_id, project_name=""):
ht = await find_human_task(sor, project_id, "output_verify", status="pending")
if ht:
await sor.sqlExe(
"UPDATE pipeline_human_tasks SET status='done', updated_at=NOW() "
"UPDATE pipeline_human_tasks SET status='done', submitted_at=NOW() "
"WHERE id=${h}$", {"h": ht.get("id")})
acts.append("auto-closed: output_verify 待办(落库核验已通过)")
await sor.sqlExe("COMMIT", {})