lots
This commit is contained in:
1 parent
215d238505
commit
1ca5f4e521
82 files changed
+519
-1889
No files matched your search
@@ -18,10 +18,10 @@ class RecordRepo
|
||||
/**
|
||||
* @param array<string> $ids
|
||||
*/
|
||||
public static function updateStatusBulk(RecordStatus $status, array $ids): void
|
||||
public static function updateStatusBulk(Status $status, array $ids): void
|
||||
{
|
||||
DB::table("records")->whereIn("id", $ids)->update([
|
||||
'_sys->status' => $status->value()
|
||||
'status' => $status->value
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user