示例#1
0
文件: test.java 项目: fastcnt/mybatis
 @Test
 public void test4() {
   SexInfo sex = sex_dao.selectByPrimaryKey("1");
   for (StuInfo stu : sex.getStuList()) {
     System.out.println(stu.getStuName());
   }
 }
示例#2
0
文件: test.java 项目: fastcnt/mybatis
 @Test
 public void test3() {
   StuInfo stu = stu_dao.selectByPrimaryKey("1");
   System.out.println(stu.getSexInfo().getSexType());
 }