mirror of https://gitee.com/stylefeng/roses
【8.0】【system】修复查询组织机构树接口
parent
3fdc48d667
commit
7a50ae5d84
|
@ -191,7 +191,8 @@ public class HrOrganizationServiceImpl extends ServiceImpl<HrOrganizationMapper,
|
||||||
|
|
||||||
// 根据条件查询组织机构列表
|
// 根据条件查询组织机构列表
|
||||||
LambdaQueryWrapper<HrOrganization> wrapper = this.createCommonTreeWrapper(commonOrgTreeRequest);
|
LambdaQueryWrapper<HrOrganization> wrapper = this.createCommonTreeWrapper(commonOrgTreeRequest);
|
||||||
wrapper.select(HrOrganization::getOrgId, HrOrganization::getOrgParentId, HrOrganization::getOrgName, HrOrganization::getOrgSort,
|
wrapper.select(HrOrganization::getOrgId, HrOrganization::getOrgPids,
|
||||||
|
HrOrganization::getOrgParentId, HrOrganization::getOrgName, HrOrganization::getOrgSort,
|
||||||
HrOrganization::getOrgType);
|
HrOrganization::getOrgType);
|
||||||
List<HrOrganization> hrOrganizationList = this.list(wrapper);
|
List<HrOrganization> hrOrganizationList = this.list(wrapper);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue