刘桂岩 5 роки тому
батько
коміт
dd69f13e8b
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      application/inter/controller/Registerlist.php

+ 2 - 2
application/inter/controller/Registerlist.php

@@ -66,7 +66,7 @@ class Registerlist extends Base
                 if(!empty($param['exam_status'])){
                     $where = ' and e.exam_status = '.$param['exam_status'];
                 }
-                /*foreach ($search as $k => $v) {
+                foreach ($param as $k => $v) {
                     switch($k){
                         case 'name':
                             if(empty($v)){
@@ -104,7 +104,7 @@ class Registerlist extends Base
                             $where .= ' and e.'.$k.'=\''.$v.'\'';
                             break;
                     }
-                }*/
+                }
             }
             $sql1 = "SELECT e.id,e.is_remote,e.study_id,e.patient_num,e.institution_id,e.exam_datetime,e.exam_class,e.exam_project,e.exam_status,p.name,p.sex,p.age from exams as e ,patient_infos as p where e.institution_id='".$doctor['institution_id']."' and p.id=e.patient_id and e.status!=0";
             //