From 08226801582a59e853a112f0f97b6bb6efc563da Mon Sep 17 00:00:00 2001 From: MccRay <xie_xiangrui@163.com> Date: 星期四, 25 三月 2021 17:39:51 +0800 Subject: [PATCH] update ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatableFilter.java. 修复 getInputStream() has already been called for this request异常问题 --- ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml index 818941f..0a8bc70 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml @@ -42,11 +42,11 @@ <if test="roleKey != null and roleKey != ''"> AND r.role_key like concat('%', #{roleKey}, '%') </if> - <if test="beginTime != null and beginTime != ''"><!-- 开始时间检索 --> - and date_format(r.create_time,'%y%m%d') >= date_format(#{beginTime},'%y%m%d') + <if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 --> + and date_format(r.create_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d') </if> - <if test="endTime != null and endTime != ''"><!-- 结束时间检索 --> - and date_format(r.create_time,'%y%m%d') <= date_format(#{endTime},'%y%m%d') + <if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 --> + and date_format(r.create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d') </if> <!-- 数据范围过滤 --> ${params.dataScope} -- Gitblit v1.9.2