Browse Source

fix this issue (#8274)

3.0.0/version-upgrade
calvin 3 years ago committed by GitHub
parent
commit
6ae3efb5b6
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/TaskGroupMapper.xml
  2. 2
      dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskGroupQueueMapper.xml

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

@ -51,6 +51,7 @@
and name like concat('%', #{name}, '%') and name like concat('%', #{name}, '%')
</if> </if>
</where> </where>
order by update_time desc
</select> </select>
<select id="queryTaskGroupPagingByProjectCode" resultType="org.apache.dolphinscheduler.dao.entity.TaskGroup"> <select id="queryTaskGroupPagingByProjectCode" resultType="org.apache.dolphinscheduler.dao.entity.TaskGroup">
@ -59,6 +60,7 @@
</include> </include>
from t_ds_task_group from t_ds_task_group
where project_code in ( #{projectCode} , 0) where project_code in ( #{projectCode} , 0)
order by update_time desc
</select> </select>
<!--modify data by id--> <!--modify data by id-->

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

@ -46,6 +46,7 @@
and group_id = #{groupId} and group_id = #{groupId}
</if> </if>
</where> </where>
order by update_time desc
</select> </select>
<select id="queryByStatus" resultMap="TaskGroupQueueMap" resultType="map"> <select id="queryByStatus" resultMap="TaskGroupQueueMap" resultType="map">
@ -149,6 +150,7 @@
#{i.code} #{i.code}
</foreach> </foreach>
</if> </if>
order by queue.update_time desc
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save