feat: add mybatis plus
This commit is contained in:
@@ -75,6 +75,15 @@
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc-common-mail</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc-api-omada</artifactId>
|
||||
</dependency>
|
||||
<!-- MybatisPlus -->
|
||||
<dependency>
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc-common-mybatis</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
||||
@@ -42,12 +42,12 @@ spring:
|
||||
# url:
|
||||
# driver-class-name:
|
||||
|
||||
# mybatis配置
|
||||
mybatis:
|
||||
# mybatis-plus配置
|
||||
mybatis-plus:
|
||||
# 搜索指定包别名
|
||||
typeAliasesPackage: org.wfc.system
|
||||
type-aliases-package: org.wfc.system
|
||||
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
||||
mapperLocations: classpath:mapper/**/*.xml
|
||||
mapper-locations: classpath:mapper/**/*.xml
|
||||
|
||||
# swagger配置
|
||||
swagger:
|
||||
|
||||
Reference in New Issue
Block a user