类 DeptService
java.lang.Object
cool.scx.core.base.BasicService<Entity>
cool.scx.core.base.BaseModelService<Dept>
cool.scx.ext.organization.dept.DeptService
CoreDeptService class.
- 版本:
- 1.1.2
- 作者:
- scx567888
-
字段概要
从类继承的字段 cool.scx.core.base.BasicService
countResultHandler, entityBeanListHandler, entityClass, scxDaoTableInfo -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voiddeleteByUserID(Long id) void递归删除 部门节点findDeptByUserID(Long userID) getDeptListByUser(User user) getDeptListByUser递归查询 deptgetUserDeptByUserIDs(cool.scx.sql.AbstractPlaceholderSQL<?> userIDs) getUserDeptByUserIDs.voidsaveDeptListWithUserID(Long userID, List<Long> deptIDs) saveDeptListWithUserID从类继承的方法 cool.scx.core.base.BaseModelService
add, add, add, add, buildGetSQL, buildGetSQLWithAlias, buildListSQL, buildListSQLWithAlias, count, count, delete, delete, get, get, get, get, list, list, list, list, revokeDelete, revokeDelete, update, update, update, update从类继承的方法 cool.scx.core.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.
- 参数:
userIDs- a- 返回:
- a
Listobject
-
deleteDeptWithChildren
递归删除 部门节点- 参数:
id- id
-
getDeptWithChildren
递归查询 dept- 参数:
id- id- 返回:
- r
-