소스 검색

修改代码

fuyu 6 년 전
부모
커밋
34aed93a6d
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      application/inter/controller/Reciveremote.php

+ 4 - 2
application/inter/controller/Reciveremote.php

@@ -244,9 +244,11 @@ class Reciveremote extends Base
                             if(empty($v)){
                                 break;
                             }
-                            $queryWhere.= " and `e`.`exam_class` in ?";
+                            $queryWhere.= " and `e`.`exam_class` in (?)";
+                            // $ex = implode('\',\'',$v);
+                            // $where .= " and e.exam_class in ('".$ex."')";
                             $options[] = $v;
-                            var_dump($v);
+                            // var_dump($v);
                             break;
                         case 'name':
                             $queryWhere.= " and `pi`.`name` like ?";