Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
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
fulixin
dsk-operate-sys-cscec
Commits
bc529851
Commit
bc529851
authored
Dec 18, 2023
by
chenyuefang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
当前页码返回
parent
d1f2d097
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
TableDataInfo.java
...src/main/java/com/dsk/common/core/page/TableDataInfo.java
+6
-0
No files found.
dsk-common/src/main/java/com/dsk/common/core/page/TableDataInfo.java
View file @
bc529851
...
@@ -39,6 +39,11 @@ public class TableDataInfo<T> implements Serializable {
...
@@ -39,6 +39,11 @@ public class TableDataInfo<T> implements Serializable {
*/
*/
private
String
msg
;
private
String
msg
;
/**
* 当前页
*/
private
long
currentPage
;
/**
/**
* 分页
* 分页
*
*
...
@@ -58,6 +63,7 @@ public class TableDataInfo<T> implements Serializable {
...
@@ -58,6 +63,7 @@ public class TableDataInfo<T> implements Serializable {
rspData
.
setMsg
(
"查询成功"
);
rspData
.
setMsg
(
"查询成功"
);
rspData
.
setRows
(
page
.
getRecords
());
rspData
.
setRows
(
page
.
getRecords
());
rspData
.
setTotal
(
page
.
getTotal
());
rspData
.
setTotal
(
page
.
getTotal
());
rspData
.
setCurrentPage
(
page
.
getCurrent
());
return
rspData
;
return
rspData
;
}
}
...
...
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