From f3d28112ce0eeecaa1bc276ae8ef63903ae91f5f Mon Sep 17 00:00:00 2001
From: juzimao <578961953@qq.com>
Date: Sat, 13 Aug 2022 13:28:35 +0800
Subject: [PATCH] optimize sorting priority for workflow define (#11462)
---
.../dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml
index 7ac596ea3c..18d9dcb0fd 100644
--- a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml
+++ b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml
@@ -84,7 +84,7 @@
and td.user_id = #{userId}
- order by sc.schedule_release_state desc,td.update_time desc,td.id asc
+ order by td.update_time desc,td.id asc