lgy пре 6 година
родитељ
комит
e3aa6c73fc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      application/inter/controller/Writereport.php

+ 1 - 1
application/inter/controller/Writereport.php

@@ -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'];