nested exception is org.apache.ibatis.exceptions. TooManyResultsException: Expected one result (or null) to be returned by selectOne0, but found: 2
1、将mapper层对应的函数写为List对象列表2、或者 返回值还是为一个对象时,将返回的数量做限制