打印SQL配置 將下面代碼美浦,復(fù)制進application.properties中
#mybatis日志
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
全局主鍵自增配置尽棕,將下面代碼答憔,復(fù)制進application.properties中
#全局設(shè)置主鍵生成策略
mybatis-plus.global-config.db-config.id-type=auto