fuyu 5 vuotta sitten
vanhempi
commit
61f261332e
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      application/inter/controller/Dcquery.php

+ 5 - 0
application/inter/controller/Dcquery.php

@@ -14,6 +14,7 @@ use think\Request;
 use think\Db;
 use think\Cache;
 use think\exception\HttpResponseException;
+use think\Log;
 
 class Dcquery extends Controller
 {
@@ -132,7 +133,11 @@ class Dcquery extends Controller
             $acc_num = $_REQUEST['acc_num']?? false;
             $study_info = false;
             if($study_id && strlen($study_id) == '16') {
+                Log::record('study_info');
+                Log::record($study_id);
                 $study_info = DB::table('studies')->where('id',$study_id)->field('id,studyuid,studyid,patient_id')->find();
+                
+                Log::record($study_info);
             } else if($study_uid) {
                 $study_info = DB::table('studies')->where('studyuid', $study_uid)->field('id,studyuid,studyid,patient_id')->find();
             } else if($acc_num) {