| | |
| | | */ |
| | | package cn.gistack.system.controller; |
| | | |
| | | import cn.gistack.common.node.DeptUserTreeNode; |
| | | import cn.gistack.common.node.TreeNode; |
| | | import cn.gistack.common.utils.NodeTreeUtil; |
| | | import cn.gistack.system.vo.DeptVO; |
| | | import cn.gistack.system.wrapper.DeptWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询组织机构树数据(下级包含人员信息) |
| | | * @param treeNode |
| | | * @return |
| | | */ |
| | | @GetMapping("/getDeptAndUserTree") |
| | | @ApiOperation(value = "查询组织机构树数据(下级包含人员信息)") |
| | | public R getDeptAndUserTree(DeptUserTreeNode treeNode) { |
| | | return R.data(deptService.getDeptAndUserTree(treeNode)); |
| | | } |
| | | |
| | | |
| | | } |