开发环境打印sql

This commit is contained in:
2024-09-25 11:09:46 +08:00
parent 9acad728d4
commit 31b92e21c4
4 changed files with 55 additions and 13 deletions

View File

@@ -64,10 +64,11 @@ pagehelper:
params: count=countSql
logging:
level:
org.springframework.web.filter.CommonsRequestLoggingFilter: debug
com.chaozhanggui.system.cashierservice.mapper: debug
com.chaozhanggui.system.cashierservice.dao: debug
# web日志
org.springframework.web: debug
# mybatis日志
org.apache.ibatis: debug
# org.springframework.web: debug
charset:
# 输出控制台编码
console: UTF-8
@@ -101,3 +102,10 @@ aliyun:
thirdPay:
payType: fushangtong
url: https://paymentapi.sxczgkj.cn
mybatis-plus:
global-config:
db-config:
id-type: auto
mapper-locations: classpath:mapper/*.xml