Browse Source

远程地址配置

hanzhiwei 3 years ago
parent
commit
d151df3115

+ 3 - 1
zd-modules/zd-airbottle/src/main/resources/bootstrap.yml

@@ -9,4 +9,6 @@ mybatis:
   mapperLocations: classpath:mapper/**/*.xml
   configuration:
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
-    call-setters-on-nulls: true
+    call-setters-on-nulls: true
+    # Mybatis开启驼峰映射
+    mapUnderscoreToCamelCase: true

+ 2 - 0
zd-modules/zd-algorithm/src/main/resources/bootstrap.yml

@@ -10,6 +10,8 @@ mybatis:
   configuration:
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
     call-setters-on-nulls: true
+    # Mybatis开启驼峰映射
+    mapUnderscoreToCamelCase: true
 
 #okhttp 配置
 ok-http:

+ 3 - 1
zd-modules/zd-base/src/main/resources/bootstrap.yml

@@ -28,4 +28,6 @@ mybatis:
   mapperLocations: classpath:mapper/**/*.xml
   configuration:
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
-    call-setters-on-nulls: true
+    call-setters-on-nulls: true
+    # Mybatis开启驼峰映射
+    mapUnderscoreToCamelCase: true

+ 5 - 1
zd-modules/zd-chemical/src/main/resources/bootstrap.yml

@@ -7,4 +7,8 @@ mybatis:
   # 搜索指定包别名
   typeAliasesPackage: com.zd.chemical
   # 配置mapper的扫描,找到所有的mapper.xml映射文件
-  mapperLocations: classpath:mapper/**/*.xml
+  mapperLocations: classpath:mapper/**/*.xml
+  # 配置日志打印
+  log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+  # Mybatis开启驼峰映射
+  mapUnderscoreToCamelCase: true

+ 5 - 1
zd-modules/zd-exam/src/main/resources/bootstrap.yml

@@ -8,4 +8,8 @@ mybatis:
   # 搜索指定包别名
   typeAliasesPackage: com.zd.exam
   # 配置mapper的扫描,找到所有的mapper.xml映射文件
-  mapperLocations: classpath:mapper/**/*.xml
+  mapperLocations: classpath:mapper/**/*.xml
+  # 配置日志打印
+  log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+  # Mybatis开启驼峰映射
+  mapUnderscoreToCamelCase: true

+ 0 - 5
zd-modules/zd-modules-laboratory/pom.xml

@@ -117,11 +117,6 @@
             <groupId>com.zd.algorithm</groupId>
             <artifactId>zd-algorithm-api</artifactId>
         </dependency>
-
-        <dependency>
-            <groupId>com.zd.algorithm</groupId>
-            <artifactId>zd-algorithm-api</artifactId>
-        </dependency>
     </dependencies>
 
     <build>

+ 6 - 0
zd-modules/zd-modules-laboratory/src/main/resources/bootstrap.yml

@@ -8,6 +8,12 @@ mybatis:
   typeAliasesPackage: com.zd.laboratory
   # 配置mapper的扫描,找到所有的mapper.xml映射文件
   mapperLocations: classpath:mapper/**/*.xml
+  # 配置项
+  configuration:
+    # 配置日志打印
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    # Mybatis开启驼峰映射
+    mapUnderscoreToCamelCase: true
 
 ##日志
 logging:

+ 4 - 0
zd-modules/zd-modules-system/src/main/resources/bootstrap.yml

@@ -8,3 +8,7 @@ mybatis:
   typeAliasesPackage: com.zd.system
   # 配置mapper的扫描,找到所有的mapper.xml映射文件
   mapperLocations: classpath:mapper/**/*.xml
+  # 配置日志打印
+  log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+  # Mybatis开启驼峰映射
+  mapUnderscoreToCamelCase: true