mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正Query类setInc和setDec方法
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user