新增 创建检测订单 接口

This commit is contained in:
2023-07-28 14:35:25 +08:00
parent b3d0576013
commit ff5d622110
9 changed files with 441 additions and 12 deletions
-9
View File
@@ -379,15 +379,6 @@ class UserDoctor extends Model
->whereHas('Hospital', function ($query) use ($hospital_params) {
$query->where($hospital_params);
})
// ->when($keyword, function ($query, $keyword) {
// $query->where(function ($query) use ($keyword) {
// $query->orwhere("user_name", 'like', '%' . $keyword . '%');
// $query->orwhere("department_custom_name", 'like', '%' . $keyword . '%');
// $query->orWhereHas('Hospital', function ($query) use ($keyword) {
// $query->where('hospital_name', 'like', '%' . $keyword . '%');
// });
// });
// })
->where($params)
->get($fields);
}