钟日健
2022-04-28 029d3549ae83245e80e388f0b5fa5bd535a30a4b
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);
   }
}