摘要:
@GetMapping("/user/{id}")public User getUser(@PathVariable("id") Integer id) { User user = new User(); user.setId(id); Example<User> example = Example 阅读全文
摘要:
环境 idea2019.2 jdk1.8 数据库mysql 5.7 项目 结构 new ->Project 使用springboot快速搭建web项目 选好sdk next 填写项目信息 next 点Web-->勾选 Spring Web 点SQL->勾选 JDBC API 和 MySQL Driv 阅读全文