Commit 3fb32c53 authored by 王源's avatar 王源 🎧

添加通过单个id获取岗位向上取数组rpc

parent ce4f159e
...@@ -18,7 +18,15 @@ interface BaseInfoServiceInterface ...@@ -18,7 +18,15 @@ interface BaseInfoServiceInterface
* @param array $relations * @param array $relations
* @return array * @return array
*/ */
public function getPositionListById(int $id, array $columns = ['*'], array $relations = []): array; public function getPositionListById(int $id): array;
/**
* 通过单个id获取岗位向上取数组
* @param int $id
* @param null $level
* @return array
*/
public function getPositionWithTopListById(int $id, $level = null): array;
/** /**
* 通过id数组获取国家数组 * 通过id数组获取国家数组
......
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