From fad8d235dcfacda9ee69a4b3f53231076bfe3f09 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期二, 07 一月 2025 10:41:08 +0800 Subject: [PATCH] copyright 2025 --- src/main/resources/mybatis/system/SysJobLogMapper.xml | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mybatis/system/SysJobLogMapper.xml b/src/main/resources/mybatis/system/SysJobLogMapper.xml index dc844ba..7e6fd3a 100644 --- a/src/main/resources/mybatis/system/SysJobLogMapper.xml +++ b/src/main/resources/mybatis/system/SysJobLogMapper.xml @@ -36,12 +36,13 @@ AND invoke_target like concat('%', #{invokeTarget}, '%') </if> <if test="params.beginTime != null and params.beginTime != ''"><!-- 寮�濮嬫椂闂存绱� --> - and date_format(create_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d') + and date_format(create_time,'%Y%m%d') >= date_format(#{params.beginTime},'%Y%m%d') </if> <if test="params.endTime != null and params.endTime != ''"><!-- 缁撴潫鏃堕棿妫�绱� --> - and date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d') + 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