瀏覽代碼

修改代码

fuyu 6 年之前
父節點
當前提交
20802b6444
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 0 0
      application/common/versionsql/version1
  2. 1 1
      application/inter/controller/Dcquery.php

+ 0 - 0
application/common/versionsql/version1


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

@@ -129,7 +129,7 @@ class Dcquery extends Controller
         $info['studyInstanceUid'] = $study_info['studyuid'];
         $patient_info = DB::table('patient_infos')->where('id',$study_info['patient_id'])->field('birthday,institution_id,temp_patient_id,name,age,sex')->find();
         $date = DB::table('exams')->where('patient_id',$study_info['patient_id'])->field('exam_datetime')->find();
-        $institution = DB::table('institution')->where('id',$patient_info['institution_id'])->field('name')->find();
+        $institution = DB::table('institution')->where('id',$study_info['institution_id'])->field('name')->find();
         $info['patientName'] = $patient_info['name'];
         // 根据series_num排序
         // $series_list = DB::table('series')->where('study_id',$study_info['id'])->where('modality','not in','PR,SR')->field('id,series_num,seriesuid,description')->order('series_num asc')->select();