1、根据配置文件创建SQLSessionFactory 2、获取SQLSession的实现类DefaultSQLSession 3、getMapper返回接口代理对象 4、查询流程 5、查询流程总结 6、运行原理总结