lgy 2 weeks ago
parent
commit
f1f6ef3879
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jcjyhr/app/zskk/model/Patient.php

+ 1 - 1
jcjyhr/app/zskk/model/Patient.php

@@ -209,7 +209,7 @@ class Patient extends ZskkModel
 
     public function getOrgName($id)
     {
-        return (new Institution())->where('ID',$id)->value('name');
+        return (new Institution())->where('INSTITUTION_CODE',$id)->value('name');
     }
 
     public function saveReportStudy($studyUid,$studyId)