فهرست منبع

feature 代码提交

xiahan 8 ماه پیش
والد
کامیت
77d7fd4bd7
2فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  1. 1 1
      jsglkh-server/src/main/resources/bootstrap.yml
  2. 6 1
      pom.xml

+ 1 - 1
jsglkh-server/src/main/resources/bootstrap.yml

@@ -42,7 +42,7 @@ mybatis-plus:
     log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
     map-underscore-to-camel-case: false
   xmlLocation: classpath:mybatis/*.xml
-  mapperLocations: "classpath:mybatis/**/*Dao.xml"
+  mapperLocations: "classpath:mybatis/*.xml"
   typeAliasesPackage: com.rongwei.bsentity.domain
   global-config:
     db-config:

+ 6 - 1
pom.xml

@@ -31,6 +31,7 @@
     <packaging>pom</packaging>
 
     <dependencies>
+
         <dependency>
             <groupId>com.dameng</groupId>
             <artifactId>DmJdbcDriver18</artifactId>
@@ -42,7 +43,11 @@
             <artifactId>sqljdbc4</artifactId>
             <version>4.0</version>
         </dependency>
-
+        <dependency>
+            <groupId>com.baomidou</groupId>
+            <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
+            <version>3.5.0</version>
+        </dependency>
         <dependency>
             <groupId>org.projectlombok</groupId>
             <artifactId>lombok</artifactId>