Просмотр исходного кода

开发环境和测试环境添加sql打印配置

ZhangWenQiang 6 лет назад
Родитель
Сommit
3a89eb4e14

+ 3 - 1
happy-boot-module-hppay/src/main/resources/application-dev.yml

@@ -100,11 +100,13 @@ spring:
         max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
         min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
       shutdown-timeout: 100ms
-    password: ''
+    password: '123456'
     port: 6379
 #mybatis plus 设置
 mybatis-plus:
   mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
+  configuration:
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 
 #jeecg专用配置
 jeecg :

+ 3 - 0
happy-boot-module-hppay/src/main/resources/application-test.yml

@@ -116,6 +116,9 @@ spring:
 #mybatis plus 设置
 mybatis-plus:
    mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
+   configuration:
+     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+
 #jeecg专用配置
 jeecg :
   path :