摘要:
@GetMapping("/user/{id}")public User getUser(@PathVariable("id") Integer id) { User user = new User(); user.setId(id); Example<User> example = Example 阅读全文
摘要:
这里使用的springboot2.2.2版本 没有报错发生也没有生成表 是yml的问题 下面有正确的yml 不需要 在启动类加 @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, HibernateJpaAutoC 阅读全文