SELECT * FROM users and username = #{username} </where> 若多重判断,参数等于某个值,应该使用 == and username = #{username}