类 DeptService
- java.lang.Object
-
- cool.scx.base.BaseService<Dept>
-
- cool.scx.ext.organization.DeptService
-
public class DeptService extends cool.scx.base.BaseService<Dept>
CoreDeptService class.
- 版本:
- 1.1.2
- 作者:
- scx567888
-
-
构造器概要
构造器 构造器 说明 DeptService(UserDeptService userDeptService)Constructor for CoreDeptService.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddeleteByUserId(Long id)List<UserDept>findDeptByUserId(Long userId)List<Dept>getDeptListByUser(User user)getDeptListByUserList<UserDept>getUserDeptByUserIds(List<Long> userIds)getUserDeptByUserIds.voidsaveDeptListWithUserId(Long userId, List<Long> deptIds)saveDeptListWithUserId
-
-
-
构造器详细资料
-
DeptService
public DeptService(UserDeptService userDeptService)
Constructor for CoreDeptService.
- 参数:
userDeptService- aUserDeptServiceobject.
-
-
方法详细资料
-
saveDeptListWithUserId
public void saveDeptListWithUserId(Long userId, List<Long> deptIds) throws SQLException
saveDeptListWithUserId- 参数:
userId- aLongobjectdeptIds- aStringobject- 抛出:
SQLException- s
-
deleteByUserId
public void deleteByUserId(Long id) throws SQLException
- 参数:
id- aLongobject- 抛出:
SQLException
-
findDeptByUserId
public List<UserDept> findDeptByUserId(Long userId) throws SQLException
- 参数:
userId- aLongobject- 返回:
- a
Listobject - 抛出:
SQLException
-
-