feat: add mybatis plus

This commit is contained in:
caiyuchao committed 2024-12-09 17:07:57 +08:00
1 parent 735c181fc8
commit af65a433ef
10 files changed
+210 -8

No files matched your search

+9
View File
@@ -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: