在做后台分页的查询中,写错了查询sql,导致返回值多了,正确的结果应是一条,
重写sql,selcet count(*) from dept_inf.
真是太粗心大意了。
Expected one result (or null) to be returned by selectOne(), but found: 6] with root cause
原文:https://www.cnblogs.com/peanut-zh/p/13994289.html