Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
7285b76c
Commit
7285b76c
authored
Apr 13, 2023
by
songyinghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 分页参数
parent
648b0755
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
InteractRecordApiServiceImpl.java
...ervice/out/impl/content/InteractRecordApiServiceImpl.java
+2
-0
PotentialCustomerApiServiceImpl.java
...ice/out/impl/content/PotentialCustomerApiServiceImpl.java
+2
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/content/InteractRecordApiServiceImpl.java
View file @
7285b76c
...
...
@@ -75,6 +75,8 @@ public class InteractRecordApiServiceImpl implements InteractRecordApiService {
.
collect
(
Collectors
.
toList
());
result
.
setTotalCount
(
pageResult
.
getTotalCount
());
result
.
setResult
(
recordInfos
);
result
.
setCurrentPage
(
interactRecordQDTO
.
getPageNum
());
result
.
setPageSize
(
interactRecordQDTO
.
getPageSize
());
return
ServiceResponse
.
success
(
result
);
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/content/PotentialCustomerApiServiceImpl.java
View file @
7285b76c
...
...
@@ -48,6 +48,8 @@ public class PotentialCustomerApiServiceImpl implements PotentialCustomerApiServ
}
Page
<
PotentialCustomerDTO
>
resultPage
=
new
Page
<>();
resultPage
.
setTotalCount
(
customerPage
.
getTotalCount
());
resultPage
.
setCurrentPage
(
potentialCustomerQDTO
.
getPageNum
());
resultPage
.
setPageSize
(
potentialCustomerQDTO
.
getPageSize
());
List
<
PotentialCustomerDTO
>
customerDTOS
=
customerPage
.
getResult
()
.
stream
()
.
map
(
item
->
{
...
...
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