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
e432283b
Commit
e432283b
authored
Jul 08, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' into 'master'
解绑删除 See merge request
!111
parents
03add52e
59dfd77a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
HandoverServiceImpl.java
...oban/manage/service/service/impl/HandoverServiceImpl.java
+9
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/HandoverServiceImpl.java
View file @
e432283b
...
...
@@ -7,11 +7,13 @@ import com.gic.haoban.base.api.common.BasePageInfo;
import
com.gic.haoban.common.utils.PageUtil
;
import
com.gic.haoban.manage.api.dto.HandoverExternalDTO
;
import
com.gic.haoban.manage.api.dto.HandoverStaffFriendCountDTO
;
import
com.gic.haoban.manage.api.service.StaffClerkRelationApiService
;
import
com.gic.haoban.manage.service.config.Config
;
import
com.gic.haoban.manage.service.dao.mapper.*
;
import
com.gic.haoban.manage.service.entity.*
;
import
com.gic.haoban.manage.service.service.HandoverService
;
import
com.gic.haoban.manage.service.service.SecretSettingService
;
import
com.gic.haoban.manage.service.service.StaffClerkRelationService
;
import
com.gic.wechat.api.dto.qywx.QywxTransferCustomerInfoDTO
;
import
com.gic.wechat.api.dto.qywx.QywxUnassignedInfoDTO
;
import
com.gic.wechat.api.service.qywx.QywxUserApiService
;
...
...
@@ -69,6 +71,9 @@ public class HandoverServiceImpl implements HandoverService {
@Autowired
private
TabHaobanClerkMainStoreRelatedMapper
clerkMainStoreRelatedMapper
;
@Autowired
private
StaffClerkRelationService
staffClerkRelationService
;
@Override
public
boolean
saveHandover
(
String
wxEnterpriseId
,
List
<
QywxUnassignedInfoDTO
>
infoList
)
{
logger
.
info
(
"saveHandover-保存离职基础数据:{}"
,
wxEnterpriseId
);
...
...
@@ -142,6 +147,10 @@ public class HandoverServiceImpl implements HandoverService {
}
else
{
handoverStaff
.
setHandoverStaffId
(
ToolUtil
.
randomUUID
());
handoverStaffMapper
.
insertSelective
(
handoverStaff
);
//解绑
List
<
String
>
staffIds
=
new
ArrayList
<>();
staffIds
.
add
(
handoverStaff
.
getStaffId
());
staffClerkRelationService
.
cleanStaffClerk
(
handoverStaff
.
getWxEnterpriseId
(),
staffIds
);
}
}
...
...
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