Expected one result (or null) to be returned by selectOne(), but found 2

这个问题在于你查询sql返回结果是多个值、一个集合,但是你在service的实现层的dao都调用了.get方法。而是应该使用.getlist方法等。

posted on 2016-12-19 19:50  ckx0709  阅读(490)  评论(0编辑  收藏  举报

导航