Commit 8bcd8c38 by 徐高华

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

删除成员

See merge request !486
parents 7f61cf69 e850d7ce
......@@ -337,13 +337,13 @@ public class MessageApiServiceImpl implements MessageApiService {
this.staffDepartmentRelatedService.delByStaffid(staffId);
//员工解绑
List<StaffClerkRelationDTO> staffClerkRelationDTOS = staffClerkRelationApiService.listByStaffId(wxEnterpriseId, staffId);
//删除员工表-注意顺序
this.staffService.delByStaffId(staffId);
if (CollectionUtils.isNotEmpty(staffClerkRelationDTOS)) {
for (StaffClerkRelationDTO staffClerkRelationDTO : staffClerkRelationDTOS) {
staffClerkRelationApiService.unbindByStaffAndClerkId(staffId, staffClerkRelationDTO.getClerkId(), ChannelCodeEnum.ADMIN_UNBIND.getCode(),wxEnterpriseId);
}
}
//删除员工表-注意顺序
this.staffService.delByStaffId(staffId);
}
log.error("成员同步结束");
}
......
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