From 19b868875992821a28f408cbbd2a31fa47f91072 Mon Sep 17 00:00:00 2001 From: Live <1005297262@qq.com> Date: 星期二, 09 六月 2020 11:36:10 +0800 Subject: [PATCH] IpUtils工具,清除Xss特殊字符,防止Xff注入攻击 --- ruoyi/src/main/resources/mybatis/system/SysUserMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi/src/main/resources/mybatis/system/SysUserMapper.xml b/ruoyi/src/main/resources/mybatis/system/SysUserMapper.xml index 2e6969c..99c0d50 100644 --- a/ruoyi/src/main/resources/mybatis/system/SysUserMapper.xml +++ b/ruoyi/src/main/resources/mybatis/system/SysUserMapper.xml @@ -78,7 +78,7 @@ AND (u.dept_id = #{deptId} OR u.dept_id IN ( SELECT t.dept_id FROM sys_dept t WHERE FIND_IN_SET (#{deptId},ancestors) )) </if> <!-- 数据范围过滤 --> - ${dataScope} + ${params.dataScope} </select> <select id="selectUserByUserName" parameterType="String" resultMap="SysUserResult"> -- Gitblit v1.9.2