|
@@ -60,7 +60,8 @@ public class DeptController {
|
|
|
|
|
|
@GetMapping("/list")
|
|
|
@Operation(summary = "获取部门列表")
|
|
|
- @PreAuthorize("@ss.hasPermission('system:dept:query')")
|
|
|
+ // @PreAuthorize("@ss.hasPermission('system:dept:query')")
|
|
|
+ @DataPermission(enable = false)
|
|
|
public CommonResult<List<DeptRespVO>> getDeptList(DeptListReqVO reqVO) {
|
|
|
List<DeptDO> list = deptService.getDeptList(reqVO);
|
|
|
return success(BeanUtils.toBean(list, DeptRespVO.class));
|