类 DeptService
java.lang.Object
cool.scx.base.BasicService<Entity>
cool.scx.base.BaseModelService<Dept>
cool.scx.ext.organization.dept.DeptService
CoreDeptService class.
- 版本:
- 1.1.2
- 作者:
- scx567888
-
字段概要
从类继承的字段 cool.scx.base.BasicService
countResultHandler, entityBeanListHandler, entityClass, scxDaoTableInfo -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voiddeleteByUserID(Long id) void递归删除 部门节点findDeptByUserID(Long userID) getDeptListByUser(User user) getDeptListByUser递归查询 deptgetUserDeptByUserIDs(List<Long> userIDs) getUserDeptByUserIDs.voidsaveDeptListWithUserID(Long userID, List<Long> deptIDs) saveDeptListWithUserID从类继承的方法 cool.scx.base.BaseModelService
add, add, add, add, buildGetSQL, buildGetSQL, buildGetSQL, buildGetSQL, buildGetSQLWithAlias, buildGetSQLWithAlias, buildGetSQLWithAlias, buildGetSQLWithAlias, buildListSQL, buildListSQL, buildListSQL, buildListSQL, buildListSQLWithAlias, buildListSQLWithAlias, buildListSQLWithAlias, buildListSQLWithAlias, count, count, delete, delete, get, get, get, get, list, list, list, list, revokeDelete, revokeDelete, update, update, update, update从类继承的方法 cool.scx.base.BasicService
_buildSelectSQL, _buildSelectSQLWithAlias, _count, _delete, _insert, _insertBatch, _scxDaoTableInfo, _select, _truncate, _update, autoTransaction, autoTransaction
-
构造器详细资料
-
DeptService
Constructor for CoreDeptService.
- 参数:
userDeptService- aUserDeptServiceobject.
-
-
方法详细资料
-
getDeptListByUser
getDeptListByUser -
saveDeptListWithUserID
saveDeptListWithUserID -
deleteByUserID
- 参数:
id- aLongobject
-
findDeptByUserID
-
getUserDeptByUserIDs
getUserDeptByUserIDs.
-
deleteDeptWithChildren
递归删除 部门节点- 参数:
id- id
-
getDeptWithChildren
递归查询 dept- 参数:
id- id- 返回:
- r
-