想要的结果是要一个对象,但是查出来的结果是一个List ,那么就超出了 resultType 设置的参数,修改返回值类型即可。

executor.ExecutorException: Statement returned more than one row, where no more than one was expected.

发布了6 篇原创文章 · 获赞 0 · 访问量 9

猜你喜欢

转载自blog.csdn.net/Zhao960681853/article/details/104214857