This commit is contained in:
2021-02-24 19:08:42 +08:00
parent 4dddb833bb
commit b73f6b4f85
3 changed files with 1 additions and 24 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ class Command extends Component
public function mathematics($tableName, $param, $condition): bool|static
{
$change = $this->db->getSchema()->getChange();
$sql = $change->mathematics($tableName, $param, $condition);
$sql = $change->mathematics($tableName, $param, [$condition]);
if ($sql === false) {
return false;
}