Files
obsidian_note/技术探究/JAVA/Mybatis Mybatis plus.md
2025-12-04 09:12:56 +08:00

622 B

mybatis xxx join 做连接查询

引入以下依赖

<dependency>  
    <groupId>com.github.yulichang</groupId>  
    <artifactId>mybatis-plus-join-boot-starter</artifactId>  
    <version>1.4.9</version>  
</dependency>

import com.baomidou.mybatisplus.extension.service.IService;
to
import com.github.yulichang.base.MPJBaseService;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
to
import com.github.yulichang.base.MPJBaseMapper;

LambdaQueryWrapper
to
MPJLambdaWrapper

批量 性能 优化

https://developer.aliyun.com/article/1055592

rewriteBatchedStatements=true