解决:TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found 3

解决:TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found 3

返回结果过多,发现是sql中的多表查询时表没有连接造成了查询了无效的数据

posted @ 2022-04-10 18:01  weiambt  阅读(306)  评论(0)    收藏  举报