Mapper
Mapper copied to clipboard
生成通用mapper,指定了数据库没起作用
有两个database,里面有名字相同的表。 在数据库链接url上面指明了时数据库二,但是最终生成的是数据库一中表的相关代码。
@Table标签需要有name和schema两个属性;
只有一个则会被忽略
版本
<dependency>
<groupId>tk.mybatis</groupId>
<artifactId>mapper-spring-boot-starter</artifactId>
<version>2.1.5</version>
</dependency>