![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
equalsdev
机会很多,要不停的去尝试;世界很大,要勇敢的去闯
展开
-
用mybatis-generator的逆向工程生成bean和dao
1、在pom.xml里添加maven插件 org.mybatis.generator mybatis-generator-maven-plugin 1.3.5原创 2017-11-17 12:11:57 · 1049 阅读 · 0 评论 -
springBoot注解的应用
注解: @Controller 处理http的请求; @RestController 组合注解(@Controller和@ResponseBody注解的组合); @RequestMapping 配置url映射(因为其有时代码较长,可用@GetMapping或者@PostMapping等组合注解替代) @PathVariable 获取url中的数据 @RequestParam原创 2017-11-16 15:31:02 · 218 阅读 · 0 评论