From c0d430f4e5adf08129c2610d9d2b5446bb19c0d6 Mon Sep 17 00:00:00 2001 From: XCSDN <gitee@xcsdn.net> Date: 星期四, 07 四月 2022 12:57:56 +0800 Subject: [PATCH] update ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysDictType.java. 字典类型必须以字母开头,且字典类型只能由小写字母或加下划线还有数字组成 防止由于字典类型不符合前端开发规范而报错 --- 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