org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 6

错误显示:

org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 6

原因写ReslutMap时候,column的值和数据库sql语句中的值不对应。

posted @ 2021-04-27 17:01  didiiddidiidiid  阅读(117)  评论(0)    收藏  举报