使用MyBatis(嵌套查询,嵌套结果)
1.创建2张表,建立主外键关系2.建立实体类[html] view plain copypackage com.yw.test06; public class Class { private int id; private String name; public int getId() { return ...