fix: human_tasks无updated_at列改用submitted_at
This commit is contained in:
parent
9a1acf792d
commit
b1ba0558b5
@ -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")
|
ht = await find_human_task(sor, project_id, "output_verify", status="pending")
|
||||||
if ht:
|
if ht:
|
||||||
await sor.sqlExe(
|
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")})
|
"WHERE id=${h}$", {"h": ht.get("id")})
|
||||||
acts.append("auto-closed: output_verify 待办(落库核验已通过)")
|
acts.append("auto-closed: output_verify 待办(落库核验已通过)")
|
||||||
await sor.sqlExe("COMMIT", {})
|
await sor.sqlExe("COMMIT", {})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user