Commit 38030c74 authored by zhangdongying's avatar zhangdongying

获取当前团队及上级团队所有人(包含负责人)

parent 7f91c72c
......@@ -26,10 +26,11 @@ interface TeamServiceInterface
public function getTeamByDepartmentIds($departmentIds, array $relations = [], array $columns = ['id', 'pid', "name", "leader_user_id", "department_id",'status','is_disabled']): array;
/**
* 获取当前用户所在团队及上级团队所有人(包含负责人)
* 获取当前团队及上级团队所有人(包含负责人)
*
* @param int $userId 用户ID
* @param int $teamId 团队ID
* @param array $filters 额外参数
* @return array
*/
public function getSelfAndSuperiorTeamUsers(int $userId): array;
public function getSelfAndSuperiorTeamUsers(int $teamId, array $filters = []): array;
}
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