吸收数字员工周期调度闭环

This commit is contained in:
baiyanyun
2026-06-09 11:06:25 +08:00
parent f35d945d9c
commit 5ebc0a640b
18 changed files with 2083 additions and 145 deletions

View File

@@ -762,6 +762,10 @@ function entitySummarySelect(entityType: string): string | null {
return "SELECT title, status, NULL AS objective, payload FROM digital_tasks WHERE id = ?";
case "plan_step":
return "SELECT title, status, NULL AS objective, payload FROM digital_plan_steps WHERE id = ?";
case "schedule":
return "SELECT name AS title, status, description AS objective, payload FROM digital_schedules WHERE id = ?";
case "schedule_run":
return "SELECT id AS title, status, error AS objective, payload FROM digital_schedule_runs WHERE id = ?";
case "run":
return "SELECT id AS title, status, NULL AS objective, payload FROM digital_runs WHERE id = ?";
case "event":
@@ -860,6 +864,10 @@ function entityTable(entityType: string): string | null {
return "digital_tasks";
case "plan_step":
return "digital_plan_steps";
case "schedule":
return "digital_schedules";
case "schedule_run":
return "digital_schedule_runs";
case "run":
return "digital_runs";
case "event":