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
QianQiXiang
haoban-manage3.0
Commits
57fe76dd
Commit
57fe76dd
authored
Jun 27, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
好友
parent
06b32686
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
HandoverOperationApiService.java
...aoban/manage/api/service/HandoverOperationApiService.java
+9
-0
HandoverOperationApiServiceImpl.java
...ice/service/out/impl/HandoverOperationApiServiceImpl.java
+9
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/HandoverOperationApiService.java
View file @
57fe76dd
...
...
@@ -113,4 +113,13 @@ public interface HandoverOperationApiService {
* @return
*/
public
List
<
String
>
listTransferIdByTakeoverStaffId
(
String
wxEnterpriseId
,
String
takeoverStaffId
);
/**
* 继承记录对应的trandferid
*
* @param wxEnterpriseId
* @param takeoverStaffId
* @return
*/
public
Integer
countTransferIdByTakeoverStaffId
(
String
wxEnterpriseId
,
String
takeoverStaffId
);
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/HandoverOperationApiServiceImpl.java
View file @
57fe76dd
...
...
@@ -296,4 +296,13 @@ public class HandoverOperationApiServiceImpl implements HandoverOperationApiServ
}
return
ret
.
stream
().
map
(
dto
->
dto
.
getHandoverTransferId
()).
collect
(
Collectors
.
toList
());
}
@Override
public
Integer
countTransferIdByTakeoverStaffId
(
String
wxEnterpriseId
,
String
takeoverStaffId
)
{
List
<
TabHandoverTransfer
>
ret
=
handoverService
.
listTransferByTakeoverStaffId
(
wxEnterpriseId
,
takeoverStaffId
);
if
(
CollectionUtils
.
isEmpty
(
ret
))
{
return
null
;
}
return
ret
.
stream
().
mapToInt
(
dto
->
dto
.
getExternalCount
()).
sum
();
}
}
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