类 BaseDeptService<T extends BaseDept>
java.lang.Object
cool.scx.core.base.BasicService<Entity>
cool.scx.core.base.BaseModelService<T>
cool.scx.ext.organization.base.BaseDeptService<T>
- 直接已知子类:
DeptService
public abstract class BaseDeptService<T extends BaseDept>
extends cool.scx.core.base.BaseModelService<T>
CoreDeptService class.
- 版本:
- 1.1.2
- 作者:
- scx567888
-
字段概要
从类继承的字段 cool.scx.core.base.BasicService
countResultHandler, entityBeanListHandler, entityClass, scxDaoTableInfo -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddDeptListWithUserID(Long userID, List<Long> deptIDs) saveDeptListWithUserIDvoiddeleteByUserID(Long id) void递归删除 部门节点findDeptByUserID(Long userID) getDeptListByUser(BaseUser user) getDeptListByUser递归查询 deptgetUserDeptByUserIDs(cool.scx.sql.SQL userIDs) getUserDeptByUserIDs.从类继承的方法 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, list, revokeDelete, revokeDelete, update, update, update, update从类继承的方法 cool.scx.core.base.BasicService
_buildSelectSQL, _buildSelectSQLWithAlias, _count, _delete, _insert, _insertBatch, _scxDaoTableInfo, _select, _truncate, _update, autoTransaction, autoTransaction
-
构造器详细资料
-
BaseDeptService
Constructor for CoreDeptService.
- 参数:
userDeptService- aUserDeptServiceobject.
-
-
方法详细资料
-
getDeptListByUser
getDeptListByUser -
addDeptListWithUserID
saveDeptListWithUserID -
deleteByUserID
- 参数:
id- aLongobject
-
findDeptByUserID
-
getUserDeptByUserIDs
getUserDeptByUserIDs.
- 参数:
userIDs- a- 返回:
- a
Listobject
-
deleteDeptWithChildren
递归删除 部门节点- 参数:
id- id
-
getDeptWithChildren
递归查询 dept- 参数:
id- id- 返回:
- r
-