刘桂岩 3 лет назад
Родитель
Сommit
1933c1aa2d
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      application/inter/controller/Dcquery.php

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

@@ -148,7 +148,8 @@ class Dcquery extends Controller
             $acc_num = $_REQUEST['acc_num']?? false;
             $study_info = false;
             $field= ['id','studyuid','studyid','patient_id','studydate','institution_id'];
-            if($study_id && strlen($study_id) == '16') {
+//            if($study_id && strlen($study_id) == '16') {
+            if($study_id && strlen($study_id) == '32') {
                 Log::record('study_info');
                 Log::record($study_id);
                 $study_info = DB::table('studies')->where('id',$study_id)->field($field)->find();