摘要: 接口调用: http://localhost:8080/testBoot/getUser/25: public String GetUser(@PathVariable int id){ return userMapper.Sel(id).toString(); //userMapper = org 阅读全文
posted @ 2020-02-23 15:38 无天666 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 与spring集成,入口: SqlSessionFactoryBean实现InitializingBean接口,InitializingBean接口有afterPropertiesSet()方法,(spring的getBean方法里面调进去的) SpringApplication.run(Mybat 阅读全文
posted @ 2020-02-23 15:12 无天666 阅读(315) 评论(0) 推荐(0) 编辑