From aff3af669362fc9b0743e3d3319ac9e20ba822eb Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期日, 08 十月 2023 15:06:31 +0800 Subject: [PATCH] 归纳分类定时任务 任务列表和任务日志按时间逆序排列 --- ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml b/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml index 42b7ccd..10d9669 100644 --- a/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml +++ b/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml @@ -42,6 +42,7 @@ and create_time <= to_timestamp(#{params.endTime},'yyyy-MM-DD') </if> </where> + order by create_time desc </select> <select id="selectJobLogAll" resultMap="SysJobLogResult"> -- Gitblit v1.9.3