pom.xml

        <dependency>
            <groupId>com.github.pagehelper</groupId>
            <artifactId>pagehelper-spring-boot-starter</artifactId>
            <version>1.2.13</version>
        </dependency>

使用

 int start=1;
        int end=10;
        PageHelper.startPage(start,end);
        List<ChannelSalerDTO> channelSalerDTOS = channelSalerMapper.selectAllSalerByPage(new ChannelSalerDTO());

 

相关文章:

  • 2022-12-23
  • 2018-07-25
  • 2021-10-03
  • 2022-12-23
  • 2021-08-31
  • 2021-11-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2021-06-07
  • 2021-12-24
  • 2021-08-31
相关资源
相似解决方案