From 99300f8d4ddae384fffb1b61fae19bb30c265026 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sun, 16 Oct 2016 19:26:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Query=E7=B1=BBsetInc=E5=92=8C?= =?UTF-8?q?setDec=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/db/Query.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/think/db/Query.php b/library/think/db/Query.php index 5c3e0f0e..52b0d18c 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -578,8 +578,6 @@ class Query // 清空查询条件 $this->options = []; return true; - } else { - return $this->setField($field, $step); } } return $this->setField($field, ['exp', $field . '+' . $step]); @@ -609,8 +607,6 @@ class Query // 清空查询条件 $this->options = []; return true; - } else { - return $this->setField($field, $step); } } return $this->setField($field, ['exp', $field . '-' . $step]);