From f244fe1855c482d82c3f56ad496b1ab7998a9e15 Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期三, 29 十二月 2021 10:14:26 +0800 Subject: [PATCH] !395 fix https://gitee.com/y_project/RuoYi-Vue/issues/I4O5WD Merge pull request !395 from 马小法/master --- ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml index e70b7bf..2359a49 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml @@ -54,11 +54,11 @@ <if test="operName != null and operName != ''"> AND oper_name like concat('%', #{operName}, '%') </if> - <if test="beginTime != null and beginTime != ''"><!-- 开始时间检索 --> - and date_format(oper_time,'%y%m%d') >= date_format(#{beginTime},'%y%m%d') + <if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 --> + and date_format(oper_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d') </if> - <if test="endTime != null and endTime != ''"><!-- 结束时间检索 --> - and date_format(oper_time,'%y%m%d') <= date_format(#{endTime},'%y%m%d') + <if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 --> + and date_format(oper_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d') </if> </where> order by oper_id desc -- Gitblit v1.9.2