@Test public void test4() { SexInfo sex = sex_dao.selectByPrimaryKey("1"); for (StuInfo stu : sex.getStuList()) { System.out.println(stu.getStuName()); } }
@Test public void test3() { StuInfo stu = stu_dao.selectByPrimaryKey("1"); System.out.println(stu.getSexInfo().getSexType()); }