智慧保安后台管理项目备份
zhongrj
2024-05-24 b5960d1968e007b91d4d33dd7cbb74f1b566f2c1
src/main/java/org/springblade/modules/system/mapper/DeptMapper.java
@@ -83,11 +83,11 @@
   List<String> selectIn();
   List<Map<Object,String>> selectCount();
   List<Map<Object,String>> selectId(String id);
   Map<Object,Object> selectHold(String deptid);
   List<Map<String, Object>> selectHold(String deptid);
   /**
    * 懒加载获取部门树形结构,不包含顶级管理员公安局
    */
   List<DeptVO> securityLazyTree(String tenantId, Long parentId);
   List<DeptVO> securityLazyTree(String jurisdiction, Long parentId);
   /**
    * 懒加载获取部门树形结构(包含用户数据)
@@ -124,4 +124,11 @@
   Map<Long, TreeNodes> lazyTreeUsersPublicSecuritys(@Param("type") Integer type,
                                         @Param("deptId") Long deptId,
                                         @Param("jurisdiction")String jurisdiction);
   /**
    * 查询所有的保安公司机构信息
    * @return
    */
   List<DeptVO> securityDeptUnitList(@Param("parentId")Long parentId,
                             @Param("deptId")Long deptId);
}