Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
V
volunteer_service
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
licc
volunteer_service
Commits
b2fcf2c7
Commit
b2fcf2c7
authored
Jan 29, 2021
by
liaoanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
管理端分页查询分页参数修改
parent
df72416c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
BannerServiceImpl.java
...java/cn/wisenergy/service/app/impl/BannerServiceImpl.java
+1
-1
RefillCardServiceImpl.java
.../cn/wisenergy/service/app/impl/RefillCardServiceImpl.java
+1
-1
UserServiceImpl.java
...n/java/cn/wisenergy/service/app/impl/UserServiceImpl.java
+1
-1
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/BannerServiceImpl.java
View file @
b2fcf2c7
...
...
@@ -101,7 +101,7 @@ public class BannerServiceImpl extends ServiceImpl<BannerMapper, Banner> impleme
//封装参数
HashMap
<
String
,
Object
>
map
=
new
HashMap
<>(
4
);
map
.
put
(
"pageNo"
,
pageNo
-
1
);
map
.
put
(
"pageNo"
,
(
pageNo
-
1
)*
pageSize
);
map
.
put
(
"pageSize"
,
pageSize
);
//查询数据;
...
...
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/RefillCardServiceImpl.java
View file @
b2fcf2c7
...
...
@@ -83,7 +83,7 @@ public class RefillCardServiceImpl implements RefillCardService {
//创建参数容器
HashMap
<
String
,
Object
>
map
=
new
HashMap
<>(
4
);
map
.
put
(
"pageNo"
,
pageNum
-
1
);
map
.
put
(
"pageNo"
,
(
pageNum
-
1
)*
pageSize
);
map
.
put
(
"pageSize"
,
pageSize
);
ArrayList
<
RefillCardDto
>
refillCardDtos
=
new
ArrayList
<>();
...
...
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/UserServiceImpl.java
View file @
b2fcf2c7
...
...
@@ -62,7 +62,7 @@ public class UserServiceImpl extends ServiceImpl<UsersMapper, User> implements U
Map
<
String
,
Object
>
map
=
new
HashMap
<>(
4
);
//将参数放入容器中
map
.
put
(
"pageNo"
,
queryVo
.
getPageNo
()
-
1
);
map
.
put
(
"pageNo"
,
(
queryVo
.
getPageNo
()
-
1
)*
queryVo
.
getPageSize
()
);
map
.
put
(
"pageSize"
,
queryVo
.
getPageSize
());
map
.
put
(
"startTime"
,
queryVo
.
getStartTime
());
map
.
put
(
"endTime"
,
queryVo
.
getEndTime
());
...
...
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