瀏覽代碼

SQL打印

lgs 11 月之前
父節點
當前提交
85cdd96137
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/main/resources/application.yml

+ 3 - 1
src/main/resources/application.yml

@@ -56,7 +56,7 @@ spring:
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
   configuration:
-#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
     map-underscore-to-camel-case: true
   type-aliases-package: com.kexun.entity
   type-handlers-package: com.kexun.typehandler
@@ -70,6 +70,8 @@ pagehelperhelper-dialect: mysql
 ##日志配置
 logging:
   config: classpath:log4j.properties
+  level:
+    com.baomidou.mybatisplus.core.mapper: debug
 
 config:
   fileupload: