|
|
|
@ -66,8 +66,6 @@ public class SysDeptServiceImpl implements ISysDeptService {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public List<Tree<Long>> selectDeptTreeList(SysDeptBo bo) {
|
|
|
|
public List<Tree<Long>> selectDeptTreeList(SysDeptBo bo) {
|
|
|
|
// 只查询未禁用部门
|
|
|
|
|
|
|
|
bo.setStatus(SystemConstants.NORMAL);
|
|
|
|
|
|
|
|
LambdaQueryWrapper<SysDept> lqw = buildQueryWrapper(bo);
|
|
|
|
LambdaQueryWrapper<SysDept> lqw = buildQueryWrapper(bo);
|
|
|
|
List<SysDeptVo> depts = baseMapper.selectDeptList(lqw);
|
|
|
|
List<SysDeptVo> depts = baseMapper.selectDeptList(lqw);
|
|
|
|
return buildDeptTreeSelect(depts);
|
|
|
|
return buildDeptTreeSelect(depts);
|
|
|
|
|