diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml index 971e758..39d678b 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -68,14 +68,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" left join sys_user referrer on u.referrer_id = referrer.user_id where u.del_flag = '0' - AND u.user_id = #{userId} + AND u.user_id like concat('%', #{userId}, '%') AND u.user_name like concat('%', #{userName}, '%') + + AND u.nick_name like concat('%', #{nickName}, '%') + AND u.status = #{status} + + AND u.sex = #{sex} + AND u.phonenumber like concat('%', #{phonenumber}, '%')