刘桂岩 5 years ago
parent
commit
b479384f8f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/inter/controller/Dcom.php

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

@@ -48,7 +48,7 @@ class Dcom extends Controller  //Base
             'institution_id'=>$info['institutionCode'],
             'temp_patient_id'=>$info['patientId']
         ];
-        $patient = Db::table('patient_infps')->where($where)->find();
+        $patient = Db::table('patient_infos')->where($where)->find();
         if($patient){
             return $patient;
         }else{
@@ -67,7 +67,6 @@ class Dcom extends Controller  //Base
         }
     }
 
-
     public function insertStudy($info,$patient)
     {
         $where = [
@@ -96,6 +95,7 @@ class Dcom extends Controller  //Base
             return $data;
         }
     }
+
     public function insertExam($info,$patient,$study)
     {
         $where = [