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
c7f17e70
Commit
c7f17e70
authored
Jun 20, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:删除解绑
parent
68775c92
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
6 deletions
+26
-6
StaffClerkRelationApiService.java
...oban/manage/api/service/StaffClerkRelationApiService.java
+12
-0
MessageApiServiceImpl.java
...anage/service/service/out/impl/MessageApiServiceImpl.java
+5
-5
StaffClerkRelationApiServiceImpl.java
...ce/service/out/impl/StaffClerkRelationApiServiceImpl.java
+9
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/StaffClerkRelationApiService.java
View file @
c7f17e70
...
@@ -162,4 +162,16 @@ public interface StaffClerkRelationApiService {
...
@@ -162,4 +162,16 @@ public interface StaffClerkRelationApiService {
* @return
* @return
*/
*/
List
<
StaffClerkRelationDTO
>
listAll
();
List
<
StaffClerkRelationDTO
>
listAll
();
/**
* 通过员工id列表
*
* @param wxEnterpriseId wx企业标识
* @param staffId 员工id
* @return {@link List }<{@link StaffClerkRelationDTO }>
* @author mozhu
* @date 2022-06-20 22:46:46
*/
List
<
StaffClerkRelationDTO
>
listByStaffId
(
String
wxEnterpriseId
,
String
staffId
);
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MessageApiServiceImpl.java
View file @
c7f17e70
...
@@ -319,11 +319,11 @@ public class MessageApiServiceImpl implements MessageApiService {
...
@@ -319,11 +319,11 @@ public class MessageApiServiceImpl implements MessageApiService {
this
.
staffDepartmentRelatedService
.
delByUserid
(
userid
);
this
.
staffDepartmentRelatedService
.
delByUserid
(
userid
);
//删除员工表
//删除员工表
this
.
staffService
.
delByStaffId
(
staffId
);
this
.
staffService
.
delByStaffId
(
staffId
);
//员工解绑
List
<
StaffClerk
InfoDTO
>
staffClerkInfoDTOS
=
staffClerkRelationApiService
.
listBindDetailByStaffId
(
staffId
);
List
<
StaffClerk
RelationDTO
>
staffClerkRelationDTOS
=
staffClerkRelationApiService
.
listByStaffId
(
wxEnterpriseId
,
staffId
);
if
(
CollectionUtils
.
isNotEmpty
(
staffClerk
Info
DTOS
))
{
if
(
CollectionUtils
.
isNotEmpty
(
staffClerk
Relation
DTOS
))
{
for
(
StaffClerk
InfoDTO
staffClerkInfoDTO
:
staffClerkInfo
DTOS
)
{
for
(
StaffClerk
RelationDTO
staffClerkRelationDTO
:
staffClerkRelation
DTOS
)
{
staffClerkRelationApiService
.
unbindByStaffAndClerkId
(
staffId
,
staffClerk
Info
DTO
.
getClerkId
());
staffClerkRelationApiService
.
unbindByStaffAndClerkId
(
staffId
,
staffClerk
Relation
DTO
.
getClerkId
());
}
}
}
}
}
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffClerkRelationApiServiceImpl.java
View file @
c7f17e70
...
@@ -20,7 +20,10 @@ import com.gic.haoban.manage.api.enums.SecretTypeEnum;
...
@@ -20,7 +20,10 @@ import com.gic.haoban.manage.api.enums.SecretTypeEnum;
import
com.gic.haoban.manage.api.service.AuditApiService
;
import
com.gic.haoban.manage.api.service.AuditApiService
;
import
com.gic.haoban.manage.api.service.StaffClerkRelationApiService
;
import
com.gic.haoban.manage.api.service.StaffClerkRelationApiService
;
import
com.gic.haoban.manage.service.dao.mapper.TabHaobanStaffClerkRelationMapper
;
import
com.gic.haoban.manage.service.dao.mapper.TabHaobanStaffClerkRelationMapper
;
import
com.gic.haoban.manage.service.entity.*
;
import
com.gic.haoban.manage.service.entity.MemberClerkChatConfig
;
import
com.gic.haoban.manage.service.entity.TabHaobanStaff
;
import
com.gic.haoban.manage.service.entity.TabHaobanStaffClerkBindLog
;
import
com.gic.haoban.manage.service.entity.TabHaobanStaffClerkRelation
;
import
com.gic.haoban.manage.service.service.*
;
import
com.gic.haoban.manage.service.service.*
;
import
com.gic.wechat.api.dto.qywx.welcome.QywxExternalcontactDTO
;
import
com.gic.wechat.api.dto.qywx.welcome.QywxExternalcontactDTO
;
import
com.gic.wechat.api.service.qywx.QywxUserApiService
;
import
com.gic.wechat.api.service.qywx.QywxUserApiService
;
...
@@ -446,4 +449,9 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
...
@@ -446,4 +449,9 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
public
List
<
StaffClerkRelationDTO
>
listAll
()
{
public
List
<
StaffClerkRelationDTO
>
listAll
()
{
return
staffClerkRelatinService
.
listAll
();
return
staffClerkRelatinService
.
listAll
();
}
}
@Override
public
List
<
StaffClerkRelationDTO
>
listByStaffId
(
String
wxEnterpriseId
,
String
staffId
)
{
return
staffClerkRelatinService
.
listByStaffId
(
wxEnterpriseId
,
staffId
);
}
}
}
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