| | |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 获取用户列表 无数据权限 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:user:list')") |
| | | @GetMapping("/list/no-data-auth") |
| | | public TableDataInfo listNoAuth(SysUser user) { |
| | | startPage(); |
| | | List<SysUser> list = userService.selectUserListNoAuth(user); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | @Log(title = "用户管理", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('system:user:export')") |
| | | @PostMapping("/export") |
| | |
| | | } |
| | | |
| | | /** |
| | | * 获取部门树列表 无数据权限 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:user:list')") |
| | | @GetMapping("/deptTree/no-data-auth") |
| | | public AjaxResult deptTreeNoDataAuth(SysDept dept) { |
| | | return success(deptService.deptTreeNoDataAuth(dept)); |
| | | } |
| | | |
| | | /** |
| | | * 获取部门树列表,流程配置使用 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:user:list')") |
| | |
| | | public AjaxResult flowDeptTree(SysDept dept) { |
| | | return success(deptService.flowDeptTree(dept)); |
| | | } |
| | | |
| | | @GetMapping("/getByDept/{deptId}") |
| | | public AjaxResult getByDept(@PathVariable Long deptId) { |
| | | return success(userService.getByDept(deptId)); |
| | | } |
| | | } |