首页
学习
活动
专区
圈层
工具
发布
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    springboot集成mybatisplus分页_mybatis分页查询原理

    return this.page; } public void setPage(Page page) { this.page = page; } } 5、添加工具类中的方法 public class CommonUtil...WaterForecastRecordDTO> waterForecastRecordDTOList = GeneralUtil.convertList(list,WaterForecastRecordDTO.class); return CommonUtil.makePageListResult...(page,waterForecastRecordDTOList); } return null; */ return CommonUtil.makePageListResult(page,waterForecastRecordDTOList...controller层直接返回service返回的PageInfoListResult 就可以,下面记录下我在使用mybatis分页插件时碰到的一个问题 1、背景(直接上代码) public class CommonUtil...WaterForecastRecordDTO> waterForecastRecordDTOList = GeneralUtil.convertList(list,WaterForecastRecordDTO.class); return CommonUtil.makePageListResult

    1K10
    领券