lgy há 6 anos atrás
pai
commit
d41ecd79ec

+ 1 - 1
application/common/controller/Version.php

@@ -9,7 +9,7 @@ use think\Controller;
  */
 class Version extends Controller{
     static function getVersion(){
-        $version = '5';
+        $version = '6';
         return $version;
     }
 }

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

@@ -993,7 +993,7 @@ class Writereport extends Base
         $log['type'] = 1;  //写报告
         log::record($log);
         $report_log = DB::table('report_record')->insert($log);
-        $application = DB::table('exam_id',$param['id'])->find();
+        $application = DB::table('remote_application')->where('exam_id',$param['id'])->find();
         if($application['req_doctor_id'] == 'c44663d6d3c0b535'){
             $tel = '18910184804';
             $type = '保存报告';