zhaohaipeng 2 дней назад
Родитель
Сommit
016751c54e
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      monitor/supply_workflow_monitor.py

+ 3 - 3
monitor/supply_workflow_monitor.py

@@ -179,10 +179,10 @@ def supply_workflow_dashboard_stat(ts: int) -> List[Dict[str, Any]]:
                    IFNULL(stat_yest.crawler_plan_cnt, 0) AS '昨日计划数',
                    IFNULL(stat.total_cnt, 0)             AS '当日任务数',
                    IFNULL(stat_yest.total_cnt, 0)        AS '昨日任务数',
-                   IFNULL(stat.init_cnt, 0)              AS '当日待处理',
-                   IFNULL(stat.running_cnt, 0)           AS '当日运行中',
                    IFNULL(stat.success_cnt, 0)           AS '当日成功',
-                   IFNULL(stat.fail_success, 0)          AS '当日失败'
+                   IFNULL(stat.fail_success, 0)          AS '当日失败',
+                   IFNULL(stat.running_cnt, 0)           AS '当日运行中',
+                   IFNULL(stat.init_cnt, 0)              AS '当日待处理'
             FROM supply_workflow sw
                      LEFT JOIN (
                                    SELECT swt.workflow_id,