Java中Springboot项目执行sq查询时报错:Expected one result (or null) to be returned by selectOne(), but found: 2
Expected one result (or null) to be returned by selectOne(), but found: 2我出现以上错误的原因是:在实现类中调用查询语句时,调用错误,本来想调用查询结果为1条的sql语句,结果调用了查询全部的sql语句,返回的结果超出了范围。...