Commit e0bb2c5b7ec61f998c21b2e1c9ab837d569979f7

Authored by 王富生
1 parent 041d2234

登录后缓存业务线及公司

urbanops-module-system/src/main/java/com/zteits/urbanops/module/system/controller/admin/dept/DeptController.java
@@ -94,7 +94,7 @@ public class DeptController { @@ -94,7 +94,7 @@ public class DeptController {
94 94
95 @GetMapping("/sub-list") 95 @GetMapping("/sub-list")
96 @Operation(summary = "获取二级部门列表") 96 @Operation(summary = "获取二级部门列表")
97 - @PreAuthorize("@ss.hasPermission('system:dept:query')") 97 + //@PreAuthorize("@ss.hasPermission('system:dept:query')")
98 public CommonResult<List<DeptRespVO>> getSubDeptList() { 98 public CommonResult<List<DeptRespVO>> getSubDeptList() {
99 List<DeptDO> list = deptService.getSubDeptList(); 99 List<DeptDO> list = deptService.getSubDeptList();
100 return success(BeanUtils.toBean(list, DeptRespVO.class)); 100 return success(BeanUtils.toBean(list, DeptRespVO.class));