摘要:
接口调用: http://localhost:8080/testBoot/getUser/25: public String GetUser(@PathVariable int id){ return userMapper.Sel(id).toString(); //userMapper = org 阅读全文
摘要:
与spring集成,入口: SqlSessionFactoryBean实现InitializingBean接口,InitializingBean接口有afterPropertiesSet()方法,(spring的getBean方法里面调进去的) SpringApplication.run(Mybat 阅读全文