智慧保安后台管理项目备份
zhongrj
2022-08-24 ddae03ebb4297e78c69beab11bc8bd7e9c370913
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);
   }
}