修改了配置文件

This commit is contained in:
ShiQi 2025-12-30 18:03:32 +08:00
parent 17c409e4ee
commit f76e098175
3 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ logging:
# mybatis 配置 # mybatis 配置
mybatis-plus: mybatis-plus:
mapper-locations: classpath*:mapper/*/*Mapper.xml #xml扫描多个目录用逗号或者分号分隔告诉 Mapper 所对应的 XML 文件位置) mapper-locations: classpath*:mapper/**/*.xml #xml扫描多个目录用逗号或者分号分隔告诉 Mapper 所对应的 XML 文件位置)
typeAliasesPackage: com.zbkj.**.model typeAliasesPackage: com.zbkj.**.model
# 配置slq打印日志 # 配置slq打印日志
configuration: configuration:

View File

@ -92,7 +92,7 @@ logging:
# mybatis 配置 # mybatis 配置
mybatis-plus: mybatis-plus:
mapper-locations: classpath*:mapper/*/*Mapper.xml #xml扫描多个目录用逗号或者分号分隔告诉 Mapper 所对应的 XML 文件位置) mapper-locations: classpath*:mapper/**/*.xml #xml扫描多个目录用逗号或者分号分隔告诉 Mapper 所对应的 XML 文件位置)
# 配置sql打印日志 # 配置sql打印日志
configuration: configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl log-impl: org.apache.ibatis.logging.stdout.StdOutImpl