实验报告

This commit is contained in:
ls
2025-05-04 15:49:42 +08:00
parent 808f938ada
commit f472aff273
13 changed files with 55 additions and 7 deletions

View File

@@ -197,11 +197,12 @@ mybatis-plus:
# 默认数据库表下划线命名
table-underline: true
configuration:
cache-enabled: true
# 这个配置会将执行的sql打印出来在开发或测试的时候可以用
#log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 返回类型为Map,显示null对应的字段
call-setters-on-nulls: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#jeecg专用配置
minidao:
base-package: org.jeecg.modules.jmreport.*,org.jeecg.modules.drag.*

View File

@@ -199,6 +199,7 @@ mybatis-plus:
# 默认数据库表下划线命名
table-underline: true
configuration:
cache-enabled: true
# 这个配置会将执行的sql打印出来在开发或测试的时候可以用
#log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 返回类型为Map,显示null对应的字段

View File

@@ -203,7 +203,8 @@ mybatis-plus:
#log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 返回类型为Map,显示null对应的字段
call-setters-on-nulls: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
cache-enabled: true
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#jeecg专用配置
minidao:
base-package: org.jeecg.modules.jmreport.*,org.jeecg.modules.drag.*

View File

@@ -35,9 +35,9 @@
<logger name="org.springframework" level="INFO" />
<!-- 定义 mybatis 日志记录器,可以单独控制 sql 日志的输出级别 -->
<logger name="org.mybatis" level="DEBUG" />
<logger name="com.example.mapper" level="DEBUG" />
<logger name="org.apache.ibatis" level="DEBUG" />
<logger name="org.mybatis" level="INFO" />
<logger name="com.example.mapper" level="INFO" />
<logger name="org.apache.ibatis" level="INFO" />
<logger name="org.jeecg.modules.database.service.impl" level="INFO"></logger>
<!-- 定义所有其他日志记录器 -->