mybatis分页查询(个人笔记,非教程)
作者:互联网
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
IPage<Test> pageInfo = new Page<Test>(pages,limit);
QueryWrapper qw = new QueryWrapper();
IPage<Test> data = testMapper.selectPage(pageInfo,qw);
return data;
标签:QueryWrapper,教程,分页,qw,baomidou,IPage,mybatis,new,pageInfo 来源: https://blog.csdn.net/qq_44408123/article/details/111313639