【8.0】【system】修复查询组织机构树接口

pull/57/head
fengshuonan 2023-07-13 22:40:02 +08:00
parent 3fdc48d667
commit 7a50ae5d84
1 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,8 @@ public class HrOrganizationServiceImpl extends ServiceImpl<HrOrganizationMapper,
// 根据条件查询组织机构列表
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);
List<HrOrganization> hrOrganizationList = this.list(wrapper);