wip
This commit is contained in:
parent
60e49ee22a
commit
802ae9dbd9
|
|
@ -246,6 +246,6 @@ class ProductRepo
|
||||||
|
|
||||||
public static function updateStatusByIds($ids, $status)
|
public static function updateStatusByIds($ids, $status)
|
||||||
{
|
{
|
||||||
Product::query()->whereIn('id', $ids)->update('status', $status);
|
Product::query()->whereIn('id', $ids)->update(['status' => $status]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue