原文:java报错nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2

java报错nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result or null to be returned by selectOne , but found: 是因为sql语句中返回了多条,但是实际上需要的值只有一条 ...

2021-05-12 15:02 0 6032 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM