作者 tangxvhui

数据修复脚本

@@ -5,13 +5,13 @@ WITH t_node_task AS ( @@ -5,13 +5,13 @@ WITH t_node_task AS (
5 * 5 *
6 FROM ( 6 FROM (
7 SELECT 7 SELECT
8 - row_number() OVER (PARTITION BY project_id) AS row_id, 8 + row_number() OVER (PARTITION BY project_id,
  9 + node_type) AS row_id,
9 * 10 *
10 FROM 11 FROM
11 node_task 12 node_task
12 WHERE 13 WHERE
13 - cycle_id = 1653724699349225472  
14 - AND node_type = 1) AS t_node_task 14 + cycle_id = 1653724699349225472) AS t_node_task
15 WHERE 15 WHERE
16 row_id = 1 16 row_id = 1
17 ORDER BY 17 ORDER BY