添加mybatis

This commit is contained in:
2025-07-03 00:31:56 +08:00
parent 10fd6772d0
commit f097de06cc
5 changed files with 69 additions and 0 deletions

View File

@ -72,3 +72,10 @@ springdoc:
url: /v3/api-docs
path: /doc.html
packages-to-scan: com.sczx.app.controller # 替换为你的 controller 包路径
mybatis-plus:
mapper-locations: classpath*:mapper/**/*.xml
type-aliases-package: com.sczx.app.entity # 实体类包路径
configuration:
mapUnderscoreToCamelCase: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 控制台打印 SQL调试用