diff --git a/buildpackage/src/main/resources/application.yml b/buildpackage/src/main/resources/application.yml
index 79516f4d..e5a996d7 100644
--- a/buildpackage/src/main/resources/application.yml
+++ b/buildpackage/src/main/resources/application.yml
@@ -65,4 +65,11 @@ logging:
path: /Users/apple/Desktop/log/dev
mybatis:
mapper-locations: classpath*:com/hzya/**/*.xml
- config-location: classpath:mybatis/mybatis-config.xml
\ No newline at end of file
+mybatis-plus:
+ mapper-locations: classpath*:com/hzya/**/*.xml # mapper XML文件位置
+ type-aliases-package: com.hzya.frame.*.entity # 实体类所在包路径
+ config-location: classpath:mybatis/mybatis-config.xml
+ global-config:
+ db-config:
+ id-type: auto # 主键策略
+
diff --git a/pom.xml b/pom.xml
index 1a1f6e6d..268d942d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,8 +30,9 @@
3.3.0
5.8.19
1.1.22
- 2.2.2
-
+
+ 3.5.6
+
5.1.49
1.4.6
2.7.4
@@ -148,21 +149,21 @@
${guava.version}
-
- org.mybatis.spring.boot
- mybatis-spring-boot-starter
- ${mybatis-spring-boot-starter.version}
-
-
- org.springframework.boot
- spring-boot-autoconfigure
-
-
- org.springframework.boot
- spring-boot-starter
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -190,7 +191,12 @@
-
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ ${mybatis-plus-boot-starter.version}
+
cn.hutool
hutool-all
@@ -263,23 +269,23 @@
true
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
@@ -320,7 +326,7 @@
1.6.1
-
+
org.springframework.boot
spring-boot-starter-cache
@@ -380,7 +386,7 @@
**/*.xlsx
**/*.json
**/*.xdb
-
+
**/*.txt
true
@@ -395,7 +401,7 @@
**/*.xml
**/*.json
**/*.txt
-
+
true