|
@@ -525,7 +525,7 @@ class Writereport extends Base
|
|
|
// $exam_status = $this->get_exam_status($doctor['id'],8);
|
|
|
DB::table('exams')->where('id',$id)->update(['exam_status'=>'8','film_type'=>$param['film_type']]);
|
|
|
// 已审核 发送短信
|
|
|
- $application = DB::table('exam_id',$id)->find();
|
|
|
+ $application = DB::table('remote_application')->where('exam_id',$id)->find();
|
|
|
if($application['req_doctor_id'] == 'c44663d6d3c0b535'){
|
|
|
$dinfo = DB::table('doctors')->where('id',$application['req_doctor_id'])->find();
|
|
|
$d_phone = $dinfo['phone'];
|