Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
1d98fb62
Commit
1d98fb62
authored
Mar 13, 2019
by
qiankunpingtai
Browse files
修改分页总条数显示有误的问题
parent
ba3b08cb
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/erp/controller/DepotController.java
View file @
1d98fb62
...
...
@@ -159,7 +159,7 @@ public class DepotController {
if
(
currentPage
==
null
||
currentPage
<=
0
)
{
currentPage
=
BusinessConstants
.
DEFAULT_PAGINATION_PAGE_NUMBER
;
}
PageHelper
.
startPage
(
currentPage
,
pageSize
,
fals
e
);
PageHelper
.
startPage
(
currentPage
,
pageSize
,
tru
e
);
List
<
DepotEx
>
list
=
depotService
.
getDepotList
(
parameterMap
);
//获取分页查询后的数据
PageInfo
<
DepotEx
>
pageInfo
=
new
PageInfo
<>(
list
);
...
...
src/main/java/com/jsh/erp/controller/UserController.java
View file @
1d98fb62
...
...
@@ -247,7 +247,7 @@ public class UserController {
if
(
currentPage
==
null
||
currentPage
<=
0
)
{
currentPage
=
BusinessConstants
.
DEFAULT_PAGINATION_PAGE_NUMBER
;
}
PageHelper
.
startPage
(
currentPage
,
pageSize
,
fals
e
);
PageHelper
.
startPage
(
currentPage
,
pageSize
,
tru
e
);
List
<
UserEx
>
list
=
userService
.
getUserList
(
parameterMap
);
//获取分页查询后的数据
PageInfo
<
UserEx
>
pageInfo
=
new
PageInfo
<>(
list
);
...
...
Write
Preview
Supports
Markdown
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