MybatisPlus_进阶
生活随笔
收集整理的這篇文章主要介紹了
MybatisPlus_进阶
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
#數(shù)據(jù)庫(kù)連接
spring:datasource:driver-class-name: com.mysql.cj.jdbc.Driverurl: jdbc:mysql://localhost:3306/mp_high?userSSL=false&characterEnconding=UTF-8&serverTimezone=GMT%2B8username: rootpassword: root
# 日志管理
logging:level:root: warncom.gblfy.mp.high.dao: tracepattern:console: '%p%m%n'
#掃描 全局邏輯刪除=配置+ @TableLogic
mybatis-plus:# 掃描 mapper.xmlmapper-locations: classpath:/mapper/*Mapper.xmlglobal-config:db-config:logic-not-delete-value: 0 #默認(rèn)值0logic-delete-value: 1 #默認(rèn)值1
總結(jié)
以上是生活随笔為你收集整理的MybatisPlus_进阶的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Spring获取JavaBean的xml
- 下一篇: 将本地源代码程序推送远程Github仓库