Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
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
胡园园
yanxuan-qc-change-system
Commits
2c58c331
Commit
2c58c331
authored
Dec 08, 2022
by
穆龙飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify:修改自动提交本地节点
parent
d6368a11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
ChangeFlowBiz.java
...om/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
+4
-3
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
View file @
2c58c331
...
@@ -747,7 +747,7 @@ public class ChangeFlowBiz {
...
@@ -747,7 +747,7 @@ public class ChangeFlowBiz {
return
changeFlowVO
;
return
changeFlowVO
;
}).
collect
(
Collectors
.
toList
());
}).
collect
(
Collectors
.
toList
());
}
}
PageVO
pageVO
=
buildPageVo
(
list
.
size
(),
pageSize
,
page
);
PageVO
pageVO
=
buildPageVo
(
changeRecordPageInfo
.
getTotal
(),
pageSize
,
page
);
ChangeFlowListVO
changeFlowListVO
=
new
ChangeFlowListVO
();
ChangeFlowListVO
changeFlowListVO
=
new
ChangeFlowListVO
();
changeFlowListVO
.
setPageVo
(
pageVO
);
changeFlowListVO
.
setPageVo
(
pageVO
);
changeFlowListVO
.
setChangeFlowList
(
list
);
changeFlowListVO
.
setChangeFlowList
(
list
);
...
@@ -757,12 +757,13 @@ public class ChangeFlowBiz {
...
@@ -757,12 +757,13 @@ public class ChangeFlowBiz {
/**
/**
* 构建分页信息
* 构建分页信息
*
*
* @param total
Count
* @param total
* @param pageSize
* @param pageSize
* @param page
* @param page
* @return
* @return
*/
*/
private
PageVO
buildPageVo
(
int
totalCount
,
Integer
pageSize
,
Integer
page
)
{
private
PageVO
buildPageVo
(
Long
total
,
Integer
pageSize
,
Integer
page
)
{
Integer
totalCount
=
Math
.
toIntExact
(
total
);
int
totalPage
;
int
totalPage
;
int
i
=
totalCount
%
pageSize
;
int
i
=
totalCount
%
pageSize
;
if
(
i
!=
0
)
{
if
(
i
!=
0
)
{
...
...
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