yxk-20260714
我的已阅 :按 read_time 倒序排序,最新已阅的排最前。
This commit is contained in:
+8
-1
@@ -61,7 +61,14 @@
|
||||
<if test="processDefinitionName != null and processDefinitionName != ''">
|
||||
AND arp.NAME_ LIKE concat(concat('%', #{processDefinitionName}), '%')
|
||||
</if>
|
||||
ORDER BY COALESCE(cc.CREATE_TIME, aht.END_TIME_, aht.START_TIME_) DESC, cc.ID DESC
|
||||
<choose>
|
||||
<when test="isRead != null and isRead == 1">
|
||||
ORDER BY cc.READ_TIME DESC, cc.ID DESC
|
||||
</when>
|
||||
<otherwise>
|
||||
ORDER BY COALESCE(cc.CREATE_TIME, aht.END_TIME_, aht.START_TIME_) DESC, cc.ID DESC
|
||||
</otherwise>
|
||||
</choose>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user