serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=falsepassword:222333username:root#mybatis-plus配置控制台打印完整带参数SQL语句mybatis-plus:configuration:log-impl:org.apache.ibatis.logging.stdout.StdOutImpl AI代码助手复制代码 MyBatis-Plus分页插件配置 packagecom.example.demo.config...
1. 配置拦截器 @EnableTransactionManagement@Configuration@MapperScan("com.web.member.mapper") public class MybatisPlusConfig {/** * mybatis-plus SQL执行效率插件【生产环境可以关闭】 */@Beanpublic PerformanceInterceptorperformanceInterceptor() {returnnewPerformanceInterceptor(); }/* * 分页插件,自动识别数...