ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -90,7 +90,7 @@ u left join sys_dept d on u.dept_id = d.dept_id where u.del_flag = '0' <if test="userId != null and userId != 0"> <if test="userId != null and userId != ''"> AND u.user_id = #{userId} </if> <if test="userName != null and userName != ''">