|
@@ -137,7 +137,12 @@ class Dcquery extends Controller
|
|
|
die;
|
|
|
$study_info = DB::table('studies')->where('studyuid', $study_uid)->field('id,studyuid,studyid,patient_id')->find();
|
|
|
} else if($acc_num) {
|
|
|
+ var_dump(1);
|
|
|
+ die;
|
|
|
$study_info = DB::table('studies')->where('accession_num', $acc_num)->field('id,studyuid,studyid,patient_id')->find();
|
|
|
+ } else {
|
|
|
+ var_dump(2);
|
|
|
+ die;
|
|
|
}
|
|
|
// if(strlen($study_id) == '16'){
|
|
|
// $study_info = DB::table('studies')->where('id',$study_id)->field('id,studyuid,studyid,patient_id')->find();
|