mirror of https://gitee.com/stylefeng/roses
【8.0】【system】修复查询组织机构树接口
parent
a1f19ad679
commit
94a5613844
|
@ -375,6 +375,9 @@ public class HrOrganizationServiceImpl extends ServiceImpl<HrOrganizationMapper,
|
||||||
return parentIdListTotal;
|
return parentIdListTotal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 首先加上参数的机构集合
|
||||||
|
parentIdListTotal.addAll(orgIdList);
|
||||||
|
|
||||||
LambdaQueryWrapper<HrOrganization> hrOrganizationLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<HrOrganization> hrOrganizationLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
hrOrganizationLambdaQueryWrapper.in(HrOrganization::getOrgId, orgIdList);
|
hrOrganizationLambdaQueryWrapper.in(HrOrganization::getOrgId, orgIdList);
|
||||||
hrOrganizationLambdaQueryWrapper.select(HrOrganization::getOrgPids);
|
hrOrganizationLambdaQueryWrapper.select(HrOrganization::getOrgPids);
|
||||||
|
|
Loading…
Reference in New Issue