Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
c5860bb9
Commit
c5860bb9
authored
Jun 04, 2019
by
songxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
水货IDEA +2
parent
863196c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
BasePageVO.java
...on/src/main/java/com/pcloud/common/entity/BasePageVO.java
+41
-0
No files found.
pcloud-common/src/main/java/com/pcloud/common/entity/BasePageVO.java
0 → 100644
View file @
c5860bb9
package
com
.
pcloud
.
common
.
entity
;
import
java.io.Serializable
;
/**
* 分页请求VO基类,基于pageHelper插件使用
*
* @author:songx
* @date:2019/5/15,16:19
*/
public
class
BasePageVO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
4108243803635720730L
;
/**
* 每页条数
*/
private
Integer
numPerPage
;
/**
* 当前页数
*/
private
Integer
currentPage
;
public
Integer
getNumPerPage
()
{
return
numPerPage
;
}
public
void
setNumPerPage
(
Integer
numPerPage
)
{
this
.
numPerPage
=
numPerPage
;
}
public
Integer
getCurrentPage
()
{
// pageHelper插件第一页从1开始,与前端约定分页查询从0开始,故需要+1
return
currentPage
==
null
?
1
:
currentPage
+
1
;
}
public
void
setCurrentPage
(
Integer
currentPage
)
{
this
.
currentPage
=
currentPage
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment