第一步:添加pom.xml依赖
3.0-RELEASE
5.1.2
11.2.0.1.0
com.baomidou
mybatis-plus-boot-starter
${mybatis.plus.boot.starter.version}
mysql
mysql-connector-java
${mysql.version}
com.oracle
ojdbc6
${oracle.version}
com.baomidou
mybatis-plus
2.1.8
org.projectlombok
lombok
1.16.20
provided
org.apache.velocity
velocity-engine-core
2.0
org.apache.velocity
velocity
1.7
第二步:application.properties配置
mybatis-plus.type-aliases-package = com.myplus.test.entity
mybatis-plus.mapper-locations = classpath*:mapper/**/*Mapper.xml
mybatis-plus.global-config.db-config.id-type = INPUT
mybatis-plus.global-config.db-config.db-type = oracle
#oracle主键自增
mybatis-plus.global-co