fuyu 5 år sedan
förälder
incheckning
b969bcbb06
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      application/inter/controller/Writereport.php

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

@@ -472,14 +472,12 @@ class Writereport extends Base
             $sessionid = $_REQUEST['sessionid'];
             $doctor = Cache::get($sessionid);
             Log::record($doctor);
-            die;
             $param = $_REQUEST['param'];
             Log::record($param);
             $id = $param['id'];
             $report_id = $param['report_id'];
             $report_info = DB::table('report')->where('id',$report_id)->find();
             Log::record($report_info);
-            die;
             if($report_info['type'] == 1){
                 //本地报告
                 $status = DB::table('exams')->where('id',$id)->field('exam_status')->find();
@@ -511,6 +509,8 @@ class Writereport extends Base
             }else{
                 Message::read($doctor['id'],$report_info['remote_application_id'],4);
                 //远程
+                Log::record('xxxxxxxxx');
+                die;
                 $this->confirmReport($report_info['remote_application_id']);
                 // DB::table('remote_application')->where('id',$report_info['remote_application_id'])->update(['report_status'=>'9']);
                 // 添加messages消息