From 8eff83e2b4e4e44e31db516b00967b2d5c5ede0a Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Wed, 26 Jun 2024 17:40:01 +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 588d177..05a1908 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 date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
</if>
</where>
+ order by create_time desc
</select>
<select id="selectJobLogAll" resultMap="SysJobLogResult">
--
Gitblit v1.9.2