Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
06211de2
Commit
06211de2
authored
Sep 11, 2023
by
lcl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
307c468f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
TableDataInfo.java
...src/main/java/com/dsk/common/core/page/TableDataInfo.java
+2
-0
No files found.
dsk-common/src/main/java/com/dsk/common/core/page/TableDataInfo.java
View file @
06211de2
...
@@ -48,6 +48,8 @@ public class TableDataInfo<T> implements Serializable {
...
@@ -48,6 +48,8 @@ public class TableDataInfo<T> implements Serializable {
public
TableDataInfo
(
List
<
T
>
list
,
long
total
)
{
public
TableDataInfo
(
List
<
T
>
list
,
long
total
)
{
this
.
rows
=
list
;
this
.
rows
=
list
;
this
.
total
=
total
;
this
.
total
=
total
;
this
.
code
=
HttpStatus
.
HTTP_OK
;
this
.
msg
=
"查询成功"
;
}
}
public
static
<
T
>
TableDataInfo
<
T
>
build
(
IPage
<
T
>
page
)
{
public
static
<
T
>
TableDataInfo
<
T
>
build
(
IPage
<
T
>
page
)
{
...
...
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