diff --git a/library/think/db/Query.php b/library/think/db/Query.php index e15a48fd..5ed6fb17 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -1154,7 +1154,7 @@ class Query // 数组批量查询 $where = $field; foreach ($where as $k => $val) { - $this->options['multi'][$k][] = $val; + $this->options['multi'][$logic][$k][] = $val; } } elseif ($field && is_string($field)) { // 字符串查询