From 3bf48cbfef3b20f9278bf713226a42624ba4de3f Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sat, 14 Apr 2018 13:04:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3setInc=E5=92=8CsetDec?= =?UTF-8?q?=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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/think/db/Query.php b/library/think/db/Query.php index eb86d43b..191cc821 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -609,7 +609,7 @@ class Query return true; } } - return $this->setField($field, ['inc', $field, $step]); + return $this->setField($field, ['inc', $step]); } /** @@ -637,9 +637,9 @@ class Query $this->options = []; return true; } - return $this->setField($field, ['inc', $field, $step]); + return $this->setField($field, ['inc', $step]); } - return $this->setField($field, ['dec', $field, $step]); + return $this->setField($field, ['dec', $step]); } /**