改名
This commit is contained in:
@@ -522,7 +522,7 @@ trait QueryTrait
|
|||||||
$conditionArray = $this->sprintf($conditionArray, $value, $opera);
|
$conditionArray = $this->sprintf($conditionArray, $value, $opera);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->where = ['(' . implode(' AND ', $this->where) . ') OR (' . $conditionArray . ')'];
|
$this->where = ['((' . implode(' AND ', $this->where) . ') OR (' . $conditionArray . '))'];
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -865,7 +865,7 @@ trait QueryTrait
|
|||||||
} else {
|
} else {
|
||||||
$generate->where($closure);
|
$generate->where($closure);
|
||||||
}
|
}
|
||||||
return '(' . $generate->getSql() . ')';
|
return $generate->getSql();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user