<dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.0.6</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> <dependency> <groupId>p6spy</groupId> <artifactId>p6spy</artifactId> <version>3.8.1</version> </dependency>
mybatis-plus: global-config: db-config: logic-delete-value: 1 logic-not-delete-value: 0 mapper-locations: -com/mybatis/mapper/* configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
原文:https://www.cnblogs.com/flame540/p/12884730.html