소스 검색

修改代码

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

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

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