Browse Source

Update ProcessDefinitionMapper.xml (#7931)

Resolves  process definition list issue(data duplication )
mazhong 3 years ago
parent
commit
5ea06e7eb8

+ 1 - 1
dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml

@@ -84,7 +84,7 @@
         <if test=" userId != 0">
             and td.user_id = #{userId}
         </if>
-        order by sc.schedule_release_state desc,td.update_time desc
+        order by sc.schedule_release_state desc,td.update_time desc,td.id asc
     </select>
 
     <select id="queryAllDefinitionList" resultType="org.apache.dolphinscheduler.dao.entity.ProcessDefinition">