Browse Source

optimize sorting priority for workflow define (#11462)

3.1.0-release
juzimao 2 years ago committed by GitHub
parent
commit
f3d28112ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml

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

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

Loading…
Cancel
Save