修改问诊购药分配医生
This commit is contained in:
@@ -309,4 +309,16 @@ class UserDoctor extends Model
|
||||
{
|
||||
return self::where($params)->whereNotIn('doctor_id',$not_in_params)->first($fields);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取数据-多
|
||||
* @param array $params
|
||||
* @param array $not_in_params
|
||||
* @param array $fields
|
||||
* @return Collection|array|\Hyperf\Utils\Collection
|
||||
*/
|
||||
public static function getUserDoctorNotInList(array $params = [], array $not_in_params = [],array $fields = ['*']): Collection|array|\Hyperf\Utils\Collection
|
||||
{
|
||||
return self::where($params)->whereNotIn('doctor_id',$not_in_params)->get($fields);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user