|
|
@@ -199,7 +199,9 @@ public class QwUserController extends BaseController
|
|
|
combinedList.add(deptId);
|
|
|
}
|
|
|
//本部门的下级部门
|
|
|
- List<Long> deptList = companyDeptService.selectCompanyDeptByParentId(deptId);
|
|
|
+ //List<Long> deptList = companyDeptService.selectCompanyDeptByParentId(deptId);
|
|
|
+ //本部门的全部下级部门
|
|
|
+ List<Long> deptList = companyDeptService.getCurrentDeptIdDownTreeIds(deptId);
|
|
|
if (!deptList.isEmpty()){
|
|
|
combinedList.addAll(deptList);
|
|
|
}
|