Commit 7f61cf69 by 徐高华

Merge branch 'master_xgh_我的客户迭代' into 'master'

Master xgh 我的客户迭代

See merge request !483
parents c7798f6d 55bb2c6d
...@@ -335,10 +335,10 @@ public class MessageApiServiceImpl implements MessageApiService { ...@@ -335,10 +335,10 @@ public class MessageApiServiceImpl implements MessageApiService {
innerApiService.delCardByStaffId(staffId); innerApiService.delCardByStaffId(staffId);
//删除导购好友关联关系表 //删除导购好友关联关系表
this.staffDepartmentRelatedService.delByStaffid(staffId); this.staffDepartmentRelatedService.delByStaffid(staffId);
//删除员工表
this.staffService.delByStaffId(staffId);
//员工解绑 //员工解绑
List<StaffClerkRelationDTO> staffClerkRelationDTOS = staffClerkRelationApiService.listByStaffId(wxEnterpriseId, staffId); List<StaffClerkRelationDTO> staffClerkRelationDTOS = staffClerkRelationApiService.listByStaffId(wxEnterpriseId, staffId);
//删除员工表-注意顺序
this.staffService.delByStaffId(staffId);
if (CollectionUtils.isNotEmpty(staffClerkRelationDTOS)) { if (CollectionUtils.isNotEmpty(staffClerkRelationDTOS)) {
for (StaffClerkRelationDTO staffClerkRelationDTO : staffClerkRelationDTOS) { for (StaffClerkRelationDTO staffClerkRelationDTO : staffClerkRelationDTOS) {
staffClerkRelationApiService.unbindByStaffAndClerkId(staffId, staffClerkRelationDTO.getClerkId(), ChannelCodeEnum.ADMIN_UNBIND.getCode(),wxEnterpriseId); staffClerkRelationApiService.unbindByStaffAndClerkId(staffId, staffClerkRelationDTO.getClerkId(), ChannelCodeEnum.ADMIN_UNBIND.getCode(),wxEnterpriseId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment