|
@@ -172,7 +172,9 @@ public class TmDepartmentServiceImpl extends ServiceImpl<ITmDepartmentMapper, Tm
|
|
|
String deptId = this.getDeptId();
|
|
|
String zdDeptId = this.getZdDeptId(deptId);
|
|
|
List<TmDepartment> deptList = this.getSonByDeptId(zdDeptId);
|
|
|
- return deptList.stream().map(TmDepartment::getId).collect(Collectors.toList());
|
|
|
+ List<String> deptIds = deptList.stream().map(TmDepartment::getId).collect(Collectors.toList());
|
|
|
+ deptIds.add(zdDeptId);
|
|
|
+ return deptIds;
|
|
|
}
|
|
|
|
|
|
private String getZdDeptId(String deptId) {
|