【7.6.0】解决获取用户组织机构,查询到组织机构为空的情况

pull/55/MERGE
fengshuonan 2023-06-14 09:43:55 +08:00
parent dc936e2e2a
commit 656e2573bf
1 changed files with 3 additions and 0 deletions

View File

@ -248,6 +248,9 @@ public class SysUserOrgServiceServiceImpl extends ServiceImpl<SysUserOrgMapper,
// 获取用户的公司信息
HrOrganizationDTO companyInfo = organizationServiceApi.getOrgCompanyInfo(sysUserOrg.getOrgId());
if (companyInfo == null) {
continue;
}
if (currentCompanyInfo.getOrgId().equals(companyInfo.getOrgId())) {
continue;
}