关于Mybatis的错误Statement returned more than one row, where no more than one was expected
项目场景:
SpringMVC项目,关于mybatis一对多关联查询的问题。
问题描述:
错误提示:
Statement returned more than one row, where no more than one was expected
mn.java:
public class Mn {
private int m;
private int n;
@Override
public String toString() {
ret
原创
2021-01-24 20:12:53 ·
4738 阅读 ·
0 评论