From e6b7cdfed27da08963a93c67f7b905dfdf201f7d Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期四, 27 六月 2024 10:23:18 +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