hjl
2024-07-16 ec6d43aa07ee0e8faf34498057ebcfbb446aa015
ruoyi-service/ruoyi-admin/src/main/resources/mapper/admin/SysUserMapper.xml
@@ -27,6 +27,7 @@
                 left join sys_role r on ur.role_id = r.role_id
        <where>
            u.is_delete = 0
              and u.franchisee_id is null
            <if test="nickName != null and nickName != ''">
                and u.nick_name like CONCAT('%', #{nickName}, '%')
            </if>
@@ -34,7 +35,7 @@
                and u.account like CONCAT('%', #{account}, '%')
            </if>
            <if test="role != null and role != ''">
                and r.role_name like CONCAT('%', #{role}, '%')
                and r.role_id = #{role}
            </if>
        </where>
        order by u.create_time desc