正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -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 |
-
请 注册 或 登录 后发表评论