1.准备工作,导入相关依赖1).引入mapper-spring-boot-starter 通用mapper的依赖,需要移除mybatis的官方的启动器 如下 <dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper-spring-boot-starter</a

- 阅读全文 -