Commit f705a28e authored by DESKTOP-J74Q997\abc's avatar DESKTOP-J74Q997\abc

新增 通过部门id获取该部门下面所有用户id

parent cc6b3a4d
......@@ -93,4 +93,18 @@ interface AccessServiceInterface
*/
public function getUserIdsWithoutBusiness($userId);
/**
* 通过用户id获取该用户所在部门的所有用户id
* @param $userId
* @return array|string 如果是全部用户返回'all'字符串
*/
public function getDepartmentUserIdsWithId($userId);
/**
* 通过部门id获取该部门下面所有用户id
* @param $departmentId
* @return mixed
*/
public function getUserIdWithDepartmentId($departmentId);
}
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