From 711750dba3e0f7e68c6350765798d77c61c32076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 20 Apr 2023 23:22:53 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SqlBuilder.php b/SqlBuilder.php index 4881470..6813e46 100644 --- a/SqlBuilder.php +++ b/SqlBuilder.php @@ -208,7 +208,7 @@ class SqlBuilder extends Component if (count($this->query->select) < 1) { $this->query->select = ['*']; } - return $this->_selectPrefix() . $this->_prefix() . $this->builderLimit($this->query); + return $this->_selectPrefix($this->query->select) . $this->_prefix() . $this->builderLimit($this->query); } @@ -221,7 +221,7 @@ class SqlBuilder extends Component if (count($this->query->select) < 1) { $this->query->select = ['*']; } - return $this->_selectPrefix() . $this->_prefix() . $this->builderLimit($this->query); + return $this->_selectPrefix($this->query->select) . $this->_prefix() . $this->builderLimit($this->query); }