2019年3月8日09:06:02 mybatis 一对多

一对多:

实体类     班级    class:id   name  LIst<student  >  list  班级有多个学生的集合

        Student:  id name Grade 

  findGradeById(Integer id)     海神

  列和类属性  不一致     映射   

  映射完属性  列       映射  实体类中的关系       

原文地址:https://www.cnblogs.com/cxqbk/p/10493868.html