微信小程序页面迁移校验之前 P5任务处理之前
This commit is contained in:
@@ -202,7 +202,8 @@ async def get_execution_history(
|
||||
cur.execute(
|
||||
"""
|
||||
SELECT id, site_id, task_codes, status, started_at,
|
||||
finished_at, exit_code, duration_ms, command, summary
|
||||
finished_at, exit_code, duration_ms, command, summary,
|
||||
schedule_id
|
||||
FROM task_execution_log
|
||||
WHERE site_id = %s
|
||||
ORDER BY started_at DESC
|
||||
@@ -227,6 +228,7 @@ async def get_execution_history(
|
||||
duration_ms=row[7],
|
||||
command=row[8],
|
||||
summary=row[9],
|
||||
schedule_id=str(row[10]) if row[10] else None,
|
||||
)
|
||||
for row in rows
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user