From c08da88542e5b4838c376a166b4c22922cd1c09a Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期三, 29 五月 2024 14:41:26 +0800 Subject: [PATCH] 优化代码 --- src/main/resources/mybatis/system/SysJobLogMapper.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mybatis/system/SysJobLogMapper.xml b/src/main/resources/mybatis/system/SysJobLogMapper.xml index dc844ba..2e06699 100644 --- a/src/main/resources/mybatis/system/SysJobLogMapper.xml +++ b/src/main/resources/mybatis/system/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.3