This commit is contained in:
thinkphp
2017-01-12 11:45:55 +08:00
parent 5b5e7373e7
commit 1ab44ff8e7

View File

@@ -1154,7 +1154,7 @@ class Query
// 数组批量查询 // 数组批量查询
$where = $field; $where = $field;
foreach ($where as $k => $val) { foreach ($where as $k => $val) {
$this->options['multi'][$k][] = $val; $this->options['multi'][$logic][$k][] = $val;
} }
} elseif ($field && is_string($field)) { } elseif ($field && is_string($field)) {
// 字符串查询 // 字符串查询