摘要: 运行项目时报错:Expected one result (or null) to be returned by selectOne(), but found: 2 解决: 1、将接口文件.Mapper对应的方法改成List类型; 2、在.xml文件里修改SQL语句,用LIMIT或其他方法限制返回的数 阅读全文
posted @ 2022-07-26 17:27 平平无奇的陈序员 阅读(1312) 评论(0) 推荐(0)