org.xobo.dorado:mybatis-pagehelper-spring-boot-starter

a project mybatis pagehelper

License

License

Categories

Categories

Spring Boot Container Microservices MyBatis Data ORM
GroupId

GroupId

org.xobo.dorado
ArtifactId

ArtifactId

mybatis-pagehelper-spring-boot-starter
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

a project mybatis pagehelper
Source Code Management

Source Code Management

https://github.com/cnxobo/mybatis-pagehelper-spring-boot-starter/tree/master

Download mybatis-pagehelper-spring-boot-starter

How to add to project

<!-- https://jarcasting.com/artifacts/org.xobo.dorado/mybatis-pagehelper-spring-boot-starter/ -->
<dependency>
    <groupId>org.xobo.dorado</groupId>
    <artifactId>mybatis-pagehelper-spring-boot-starter</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.xobo.dorado/mybatis-pagehelper-spring-boot-starter/
implementation 'org.xobo.dorado:mybatis-pagehelper-spring-boot-starter:0.0.1'
// https://jarcasting.com/artifacts/org.xobo.dorado/mybatis-pagehelper-spring-boot-starter/
implementation ("org.xobo.dorado:mybatis-pagehelper-spring-boot-starter:0.0.1")
'org.xobo.dorado:mybatis-pagehelper-spring-boot-starter:jar:0.0.1'
<dependency org="org.xobo.dorado" name="mybatis-pagehelper-spring-boot-starter" rev="0.0.1">
  <artifact name="mybatis-pagehelper-spring-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.xobo.dorado', module='mybatis-pagehelper-spring-boot-starter', version='0.0.1')
)
libraryDependencies += "org.xobo.dorado" % "mybatis-pagehelper-spring-boot-starter" % "0.0.1"
[org.xobo.dorado/mybatis-pagehelper-spring-boot-starter "0.0.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.springframework.boot : spring-boot-autoconfigure jar 2.0.3.RELEASE
com.github.pagehelper : pagehelper-spring-boot-starter jar 1.2.3
com.bstek.dorado » dorado-core jar 7.5.0

Project Modules

There are no modules declared in this project.

mybatis-pagehelper-spring-boot-starter

提供MyBatis 基于 PageHelper 分页的Mapper 接口 Dorado 分页支持。 MyBatis 自带的分页对象是RowBounds,PageHelper的是PageRowBounds,而 dorado 提供的分页对象是 Page。 该项目通过拦截器,动态修改 dorado Page 为 PageRowBounds,并将查询结果回写到 Page 。

###示例

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.bstek.dorado.data.provider.Page;
import org.xobo.demo.entity.User;

@Mapper
public interface DemoMapper {
  List<User> queryUsers(Page<User> page, Map<String, Object> parameterMap);
}

maven 项目引入

<dependency>
  <groupId>org.xobo.dorado</groupId>
  <artifactId>mybatis-pagehelper-spring-boot-starter</artifactId>
  <version>0.0.1</version>
</dependency>

Versions

Version
0.0.1