Commit 9846aabd by qwmqiuwenmin

fix

parent 6e877f96
......@@ -103,14 +103,12 @@ public class MessageApiServiceImpl implements MessageApiService {
return;
}else{
parentDepartment = departmentApiService.selectById(exsit.getParentDepartmentId());
if(parentDepartment == null){
log.info("【部门同步】父部门为空");
return;
}
}
}
log.info("【部门同步】父部门为空");
return;
if(parentDepartment == null){
log.info("【部门同步】父部门为空");
return;
}
}
if(parentDepartment != null){
departmentDTO.setParentDepartmentId(parentDepartment.getDepartmentId());
......
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