Commit e3755c22 authored by 王源's avatar 王源 🎧

编写通过职级id数组获取用户数组rpc方法

parent 85d38a53
......@@ -139,4 +139,14 @@ interface UserServiceInterface
*/
public function belongToDepartments($userId, $deptId, $withChildren = false): bool;
/**
* 通过职级id数组获取用户数组
* @param array $positionLevelIds 职级id数组,默认去重
* @param array $columns 用户字段,默认['id', 'name','position_id']
* @param bool $withChildren 是否包含子职级,默认false
* @return array
* @author Zero
*/
public function getListByPositionLevelIds(array $positionLevelIds, $withChildren = false, $columns = ['id', 'name', 'position_id']): 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