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

将更新考核方案方法移至用户rpc接口中

parent 90387521
......@@ -137,15 +137,4 @@ interface BaseInfoServiceInterface
*/
public function sites(array $relations = [], array $columns = ['id', "name"]): array;
/**
* 更新用户考核方案
* @param $userId
* @param array $attributes
* 'review_users' => '1,2,3' // 点评人
* 'cc_person' => '1,2,3' // 抄送人
* @return int
*/
public function updateAssessmentPlan($userId, array $attributes);
}
......@@ -97,4 +97,14 @@ interface UserServiceInterface
*/
public function getListWithLeader(int $userId, array $idList = [], array $columns = ['id', 'name']): array;
/**
* 更新用户考核方案
* @param $userId
* @param array $attributes
* 'review_users' => '1,2,3' // 点评人
* 'cc_person' => '1,2,3' // 抄送人
* @return int
*/
public function updateAssessmentPlan($userId, array $attributes);
}
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