1 Star 1 Fork 1

hhjiesen / pagehelper-spring-boot-starter

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

项目介绍

MyBatis分页插件

使用说明

  1. 添加依赖
    <dependency>
        <groupId>com.ofwiki</groupId>
        <artifactId>pagehelper-spring-boot-starter</artifactId>
        <version>0.0.1</version>
    </dependency>
  2. 代码示例
    @Service
    public class OrderService {
           // order service 方法
           public Page<OrderDTO> list(OrderListReq req) {
               Page<OrderDTO> page = PageHelper.startPage(req.getPageNum(), req.getPageSize());
               page.setDataList(orderDao.list(req));
               return page;
           }
    }

Empty file

About

pagehelper spring boot starter expand collapse
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Java
1
https://gitee.com/hhjiesen/pagehelper-spring-boot-starter.git
git@gitee.com:hhjiesen/pagehelper-spring-boot-starter.git
hhjiesen
pagehelper-spring-boot-starter
pagehelper-spring-boot-starter
master

Search