61842-待办中心已办/已发 排序按照截止时间倒序排列

This commit is contained in:
wangzhijiang
2022-10-27 11:26:59 +08:00
parent e61dadc20f
commit b2100c360f
@@ -92,7 +92,7 @@
left join project_laws_inventory pli on pi.project_laws_inventory_id = pli.id
LEFT JOIN sys_user createBy on createBy.id = pi.create_by
<include refid="BaseQuerySql"/>
order by pi.end_time asc
order by pi.end_time desc
</select>
<select id="queryProjectProcessTodoTaskListList" resultType="com.jero.modules.todoCenter.vo.ProcessInfoVO">
select temp.* from (
@@ -280,6 +280,11 @@
and pi.flow_type = #{params.flowType}
</if>
</where>
order by pi.end_time asc
<if test="params.queryType == 'todoProcess' ">
order by pi.end_time asc
</if>
<if test="params.queryType != 'todoProcess' ">
order by pi.end_time desc
</if>
</select>
</mapper>