改名
This commit is contained in:
@@ -476,10 +476,7 @@ trait QueryTrait
|
|||||||
if ($conditionArray instanceof Closure) {
|
if ($conditionArray instanceof Closure) {
|
||||||
$conditionArray = $this->makeClosureFunction($conditionArray);
|
$conditionArray = $this->makeClosureFunction($conditionArray);
|
||||||
}
|
}
|
||||||
|
$this->where = ['(' . implode(' AND ', $this->where) . ') OR (' . $conditionArray . ')'];
|
||||||
$oldWhere = '(' . implode(') AND (', $this->where) . ')';
|
|
||||||
|
|
||||||
$this->where = ['(' . $oldWhere . ') OR ' . $conditionArray];
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user