This commit is contained in:
2022-09-07 14:36:32 +08:00
parent c7ad5123e2
commit 9d81bc6479
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ class Collection extends AbstractCollection
$lists[] = $item[$primary];
}
return $this->getModel()::query()->whereIn($primary, $lists)
->batchUpdate($attributes);
->update($attributes);
}
/**