#數據庫配置 spring.datasource.url=jdbc:mysql://localhost:3306/permission_system spring.datasource.username=root spring.datasource.password=000000 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver #日誌設置 logging.level.root = warn logging.level.com.xiao.permission_system.mapper = trace logging.pattern.console = %p%m%n #mapper.xml地址 mybatis-plus.mapper-locations=mybatis-plus.mapper-locations = classpath*:/mapper/**/*.xml #全局設置主鍵類型 mybatis-plus.global-config.db-config.id-type = uuid #設置mybatis文件路徑 spring.config.location = classpath:mybatis-config.xml # mybatis-plus.type-aliases-package = com.xiao.permission_system.entity #邏輯刪除狀態設置 mybatis-plus.global-config.db-config.logic-not-delete-value = 0 mybatis-plus.global-config.db-config.logic-delete-value= = 1