From b4041de60b50f4aa1f8e24c57cdaa7836fc0471a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 7 Apr 2023 18:50:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SqlBuilder.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SqlBuilder.php b/SqlBuilder.php index dd20a1b..dcf3ea1 100644 --- a/SqlBuilder.php +++ b/SqlBuilder.php @@ -248,9 +248,9 @@ class SqlBuilder extends Component if (($condition = $this->conditionToString()) != '') { $select .= " WHERE $condition"; } - if (count($this->query->attributes) > 0) { - $select = strtr($select, $this->query->attributes); - } +// if (count($this->query->attributes) > 0) { +// $select = strtr($select, $this->query->attributes); +// } if ($this->query->group != "") { $select .= ' GROUP BY ' . $this->query->group; }