类 DeptServiceImpl

java.lang.Object
com.walker.jdbc.service.BaseServiceImpl
com.iplatform.base.service.DeptServiceImpl
所有已实现的接口:
com.walker.jdbc.BaseDao, com.walker.jdbc.service.BaseService

@Service public class DeptServiceImpl extends com.walker.jdbc.service.BaseServiceImpl
  • 嵌套类概要

    从接口继承的嵌套类/接口 com.walker.jdbc.BaseDao

    com.walker.jdbc.BaseDao.RowExecution<T extends Object>
  • 字段概要

    从类继承的字段 com.walker.jdbc.service.BaseServiceImpl

    dao, log
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    缓存使用该方法,加载所有机构列表。
    queryOneDept(long id)
     
    queryOrgListForTree(long orgId)
    获取机构列表,为前端树管理展示用。
    queryRootOrgChildrenList(long orgRootId, String deptName)
    机构管理显示机构列表,由前端组织树结果。
    queryRootOrgList(long orgRootId)
    返回所有根机构列表,也就是第一层独立单位(集团)
    int
    查询给定单位下存在多少个子机构。
    long
    查询给定机构下存在多少用户

    从类继承的方法 com.walker.jdbc.service.BaseServiceImpl

    delete, delete, delete, delete, execBatchUpdate, execCall, execCall, execute, execute, execute, execute, get, get, get, get, get, get, get, get, get, getDao, getMaxOrder, insert, insert, insertBatch, queryForInt, queryForInt, queryForObject, queryForObject, queryListObjectWhereIn, save, save, saveOrder, select, select, select, select, select, select, select, select, select, select, selectAll, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, setDao, sqlGeneralQueryPager, sqlGeneralQueryPager, sqlGeneralQueryPager, sqlListObjectWhereIn, sqlMathQuery, sqlQuery, sqlQuery, sqlQueryListMap, update, update, update, update, update, update, updateBatch

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • DeptServiceImpl

      public DeptServiceImpl()
  • 方法详细资料

    • queryRootOrgList

      public List<S_dept> queryRootOrgList(long orgRootId)
      返回所有根机构列表,也就是第一层独立单位(集团)
      参数:
      orgRootId - 给定的单位ID,如果提供该参数,则表明只返回一条记录
      返回:
    • queryRootOrgChildrenList

      public List<S_dept> queryRootOrgChildrenList(long orgRootId, String deptName)
      机构管理显示机构列表,由前端组织树结果。

      注意: 这个列表包含根机构,也就是一个完整的独立机构列表,如果没有根节点,前端无法选择添加。2022-12-02
      参数:
      orgRootId - 根机构ID,必填
      deptName - 查询的机构名称
      返回:
    • queryOneDept

      public S_dept queryOneDept(long id)
    • querySubDeptSizeInCurrent

      public int querySubDeptSizeInCurrent(long id)
      查询给定单位下存在多少个子机构。
      参数:
      id - 当前机构ID
      返回:
      返回子机构数量
    • queryUserSizeInCurrent

      public long queryUserSizeInCurrent(long id)
      查询给定机构下存在多少用户
      参数:
      id - 当前机构ID
      返回:
      返回用户数量
    • queryAllDeptListForCache

      public List<S_dept> queryAllDeptListForCache()
      缓存使用该方法,加载所有机构列表。
      返回:
    • queryOrgListForTree

      public List<S_dept> queryOrgListForTree(long orgId)
      获取机构列表,为前端树管理展示用。
      参数:
      orgId - 指定的顶级单位ID,如果没指定则展示所有顶级机构。
      返回: