diff --git a/library/think/db/Query.php b/library/think/db/Query.php index d0aa4f1f..15539618 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -595,6 +595,7 @@ class Query if (false === $step) { return true; // 等待下次写入 } + $step = -$step; } return $this->setField($field, ['exp', $field . '-' . $step]); }