瀏覽代碼

修改代码

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 ?";