疯狂的狮子li
2021-05-29 8d761fa60c744bf7ffeefbf260714c2ed4fe24f2
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -106,7 +106,9 @@
            ancestors) ))
        </if>
        <!-- 数据范围过滤 -->
        ${user.params.dataScope}
        <if test="user.params.dataScope != null and user.params.dataScope != ''">
            AND ( ${user.params.dataScope} )
        </if>
    </select>
    <select id="selectUserList" parameterType="SysUser" resultMap="SysUserResult">
@@ -135,7 +137,9 @@
            ancestors) ))
        </if>
        <!-- 数据范围过滤 -->
        AND ( ${params.dataScope} )
        <if test="params.dataScope != null and params.dataScope != ''">
            AND ( ${params.dataScope} )
        </if>
    </select>
    <select id="selectUserByUserName" parameterType="String" resultMap="SysUserResult">