622 B
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
批量 性能 优化
rewriteBatchedStatements=true