executor.ExecutorException: Statement returned more than one row, where no more than one was expected.
想要的结果是要一个对象,但是查出来的结果是一个List ,那么就超出了 resultType 设置的参数,修改返回值类型即可。
猜你喜欢
转载自blog.csdn.net/Zhao960681853/article/details/104214857
今日推荐
周排行