| | |
| | | import cn.hutool.core.util.ObjectUtil; |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.common.constant.UserConstant; |
| | | import com.gkhy.exam.common.domain.TreeSelect; |
| | | import com.gkhy.exam.common.domain.entity.SysDept; |
| | | import com.gkhy.exam.system.domain.SysFunctionalDistribution; |
| | | import com.gkhy.exam.system.domain.vo.DeptVo; |
| | |
| | | } |
| | | |
| | | |
| | | @GetMapping("/treeList") |
| | | @ApiOperation(value = "获取部门列表树状") |
| | | public CommonResult treeList(SysDept dept) |
| | | { |
| | | List<TreeSelect> treeSelects = deptService.selectDeptTreeList(dept); |
| | | return CommonResult.success(treeSelects); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /** |