@Test
public void testFindUserListResultMap() throws Exception
{
SqlSession session = sqlSessionFactory.openSession();
//获限mapper接口实例
UserMapper userMapper = session.getMapper(UserMapper.class);
List<User> list = userMapper.findUserListResultMap(1);
System.out.println(list);
//关闭session
session.close();
}
Mybatis输入输出映射(2)
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/e63dff6dc2fd531f0b2704121f72605f.html