智慧保安后台管理-外网项目备份
zhongrj
2023-09-17 8853292babb2ad94de4a3207966f1e83b767cd2d
src/main/java/org/springblade/modules/system/mapper/DeptMapper.java
@@ -91,8 +91,10 @@
   /**
    * 懒加载获取部门树形结构,不包含顶级管理员公安局
    */
   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();
   /**
    * 查询所有的部门信息
@@ -165,4 +167,24 @@
    * @return
    */
   UserVO getUserInfoById(String userId);
   /**
    * 查所有公安局数据
    * @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);
}