From 3b2cd2cb016fca8f3c8791bcac0c07bde8f9c7b6 Mon Sep 17 00:00:00 2001
From: yz <3614508250@qq.com>
Date: Tue, 27 Jun 2023 15:48:25 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=86=E9=A1=B5=E6=8F=92=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 6 ++++++
src/main/resources/application.yml | 2 +-
src/main/resources/mybatis-config.xml | 7 +++++++
3 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 src/main/resources/mybatis-config.xml
diff --git a/pom.xml b/pom.xml
index a393cf5..27d94a0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,6 +30,12 @@
mybatis-spring-boot-starter
2.0.0
+
+
+ com.github.pagehelper
+ pagehelper-spring-boot-starter
+ 1.4.1
+
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 0d6bbf6..f906bcd 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -75,7 +75,7 @@ spring:
mybatis:
type-aliases-package: com.sztzjy.forex.trading_trading.entity
- mapper-locations: classpath*:mapper/*.xml
+ mapper-locations: classpath:mybatis-config.xml
swagger:
enable: true
diff --git a/src/main/resources/mybatis-config.xml b/src/main/resources/mybatis-config.xml
new file mode 100644
index 0000000..acf29c7
--- /dev/null
+++ b/src/main/resources/mybatis-config.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file