智慧保安后台管理-外网项目备份
钟日健
2026-06-01 62eb499b0c969f246d3245d1429a97da4de1ce28
src/main/java/org/springblade/modules/system/mapper/DeptMapper.java
@@ -84,15 +84,17 @@
    * @return
    */
   List<String> selectIn();
   List<Map<Object,String>> selectCount(String name);
   List<Map<Object,String>> getCount(String name);
   List<Map<Object,String>> selectId(String id);
   Map<Object,Integer> selectHold(String deptid);
   /**
    * 懒加载获取部门树形结构,不包含顶级管理员公安局
    */
   List<DeptVO> securityLazyTree(@Param("jurisdiction") String jurisdiction, Long parentId);
   List<DeptVO> securityLazyTree(@Param("jurisdiction") String jurisdiction,
                          @Param("parentId")Long parentId);
   List<DeptVO>  selectInfo();
   List<DeptVO>  selectInfos();
   /**
    * 查询所有的部门信息
@@ -171,4 +173,18 @@
    * @return
    */
   List<DeptVO> lazyTreeByJurisdiction();
   /**
    * 查询所有的保安公司机构信息
    * @return
    */
   List<DeptVO> securityDeptUnitList(@Param("parentId")Long parentId,
                             @Param("deptId")Long deptId);
   /**
    * 查询当前保安单位下的派遣单位信息
    * @param deptId
    * @return
    */
   List<DeptVO> getDispatchUnitList(@Param("deptId") Long deptId);
}