错误 org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2 解决方法 修改返回值类型,不要使用对象接受了,使用集合,原因就是查询到多条数据,但是接受的类型只能接受到一个.