Commit 1e69fafa by 墨竹

fix:企微同步通讯录处理部门bug

parent ae8c9aaf
......@@ -387,12 +387,8 @@ public class MessageApiServiceImpl implements MessageApiService {
if (department == null) {
log.info("企微同步删除部门不存在");
} else {
if (StringUtils.isBlank(department.getRelatedId())) {
this.departmentService.del(department.getDepartmentId());
} else {
this.departmentApiService.wxCallBackrecycle(department.getDepartmentId());
}
log.info("企微删除同步完成");
this.departmentService.del(department.getDepartmentId());
log.info("企微删除部门同步完成");
}
}
log.info("处理部门end:{}", JSON.toJSONString(qywxCallBackDTO));
......
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