feat: add mybatis plus
This commit is contained in:
@@ -75,6 +75,13 @@
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc-api-omada</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- MybatisPlus -->
|
||||
<dependency>
|
||||
<groupId>org.wfc</groupId>
|
||||
<artifactId>wfc-common-mybatis</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -42,12 +42,12 @@ spring:
|
||||
# url:
|
||||
# driver-class-name:
|
||||
|
||||
# mybatis配置
|
||||
mybatis:
|
||||
# mybatis-plus配置
|
||||
mybatis-plus:
|
||||
# 搜索指定包别名
|
||||
typeAliasesPackage: org.wfc.user
|
||||
type-aliases-package: org.wfc.user
|
||||
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
||||
mapperLocations: classpath:mapper/**/*.xml
|
||||
mapper-locations: classpath:mapper/**/*.xml
|
||||
|
||||
# swagger配置
|
||||
swagger:
|
||||
@@ -61,3 +61,4 @@ omada:
|
||||
omadac-id: 'f3aa6e479b94222581523710cc2c2a9d'
|
||||
client-id: '5036e77c81a74008821c694a715fe2b8'
|
||||
client-secret: '29faa06fb7f244b094377b48eb3083a7'
|
||||
|
||||
|
||||
@@ -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