智慧保安后台管理项目备份
zhongrj
2024-05-24 b5960d1968e007b91d4d33dd7cbb74f1b566f2c1
src/main/java/org/springblade/modules/system/controller/DeptController.java
@@ -197,8 +197,8 @@
    */
   @GetMapping("/security_lazy-tree")
   @ApiOperation(value = "懒加载树形结构", notes = "树形结构")
   public R<List<DeptVO>> securityLazyTree(String tenantId, Long parentId, BladeUser bladeUser) {
      List<DeptVO> tree = deptService.securityLazyTree(Func.toStrWithEmpty(tenantId, bladeUser.getTenantId()), parentId);
   public R<List<DeptVO>> securityLazyTree(String jurisdiction, Long parentId,Long deptId) {
      List<DeptVO> tree = deptService.securityLazyTree(jurisdiction,parentId,deptId);
      return R.data(tree);
   }
}