This is an automated email from the ASF dual-hosted git repository.

kerwin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 6ae3efb  fix this issue (#8274)
6ae3efb is described below

commit 6ae3efb5b6caaa72437c45bdf80c3f1b87c76a67
Author: calvin <[email protected]>
AuthorDate: Fri Feb 4 13:23:36 2022 +0800

    fix this issue (#8274)
---
 .../org/apache/dolphinscheduler/dao/mapper/TaskGroupMapper.xml          | 2 ++
 .../org/apache/dolphinscheduler/dao/mapper/TaskGroupQueueMapper.xml     | 2 ++
 2 files changed, 4 insertions(+)

diff --git 
a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupMapper.xml
 
b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupMapper.xml
index 7db5607..f615e6d 100644
--- 
a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupMapper.xml
+++ 
b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupMapper.xml
@@ -51,6 +51,7 @@
                 and name like concat('%', #{name}, '%')
             </if>
         </where>
+        order by update_time desc
     </select>
 
     <select id="queryTaskGroupPagingByProjectCode" 
resultType="org.apache.dolphinscheduler.dao.entity.TaskGroup">
@@ -59,6 +60,7 @@
         </include>
         from t_ds_task_group
         where project_code in ( #{projectCode} ,  0)
+        order by update_time desc
     </select>
 
     <!--modify data by id-->
diff --git 
a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupQueueMapper.xml
 
b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupQueueMapper.xml
index f7d6abd..e4ef275 100644
--- 
a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupQueueMapper.xml
+++ 
b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupQueueMapper.xml
@@ -46,6 +46,7 @@
                 and group_id = #{groupId}
             </if>
         </where>
+        order by update_time desc
     </select>
 
     <select id="queryByStatus" resultMap="TaskGroupQueueMap" resultType="map">
@@ -149,6 +150,7 @@
                 #{i.code}
             </foreach>
         </if>
+        order by queue.update_time desc
     </select>
 
 </mapper>

Reply via email to