Commit 02ac9e9d by fudahua

同步通讯录 删除操作到 暂存部门

parent 2ce6c5d4
......@@ -236,8 +236,10 @@ public class StaffApiServiceImpl implements StaffApiService {
ServiceResponse delQywxStaff = delQywxStaff(staff, enterpriseDTO);
// JSONResponse jp = qywxUserApiService.deleteSelfWorkWxUser(enterpriseDTO.getCorpid(), enterpriseDTO.getContactSecret(), staff.getWxUserId());
logger.info("【删除成员】{} ,jp={}", staffDepartmentStaffRelatedId, JSON.toJSONString(delQywxStaff));
if (delQywxStaff.getCode() != 1) {
throw new RuntimeException("企业微信删除失败");
}
}
staffDepartmentRelatedService.del(related);
staffService.delByuserid(relatedList.get(0).getStaffId());
......
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