Commit 499582ab authored by 王源's avatar 王源 🎧

添加通过部门id列表获取用户数组(包括子部门用户)

parent c3f04aee
...@@ -45,6 +45,14 @@ interface UserServiceInterface ...@@ -45,6 +45,14 @@ interface UserServiceInterface
*/ */
public function getByIdList(array $idList, array $columns = ['*'], array $relations = []); public function getByIdList(array $idList, array $columns = ['*'], array $relations = []);
/**
* 通过部门id列表获取用户数组(包括子部门用户)
* @param array $deptIds
* @param array $columns 用户字段,默认['id', 'name', 'department_id']
* @return array
*/
public function getListByDeptIds(array $deptIds, $columns = []);
/** /**
* 判断是否是超级管理员 * 判断是否是超级管理员
* @param int $userId * @param int $userId
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment