This commit is contained in:
2025-07-14 10:59:34 +08:00
parent 28c64daae7
commit 190c272ea3
+6 -6
View File
@@ -1058,12 +1058,12 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq
*/ */
private function sprintf(string $column, mixed $value, string $opera = '='): string private function sprintf(string $column, mixed $value, string $opera = '='): string
{ {
// if (is_string($value)) { if (is_string($value)) {
// [$alias, $field] = explode('.', $value); [$alias, $field] = explode('.', $value);
// if (in_array($alias, $this->_alias)) { if (in_array($alias, $this->_alias)) {
// return $column . ' ' . $opera . ' ' . $value; return $column . ' ' . $opera . ' ' . $value;
// } }
// } }
$this->pushParam($value); $this->pushParam($value);
return $column . ' ' . $opera . ' ?'; return $column . ' ' . $opera . ' ?';
} }