fix: stat

This commit is contained in:
tokumeikoi
2021-03-13 01:03:53 +09:00
parent a03125ee6a
commit e4b76a705f
5 changed files with 8 additions and 8 deletions

View File

@ -141,7 +141,7 @@ class OrderService
private function haveValidOrder(User $user)
{
return Order::where('user_id', $user->id)
->whereIn('status', '!=', [0, 2])
->whereNotIn('status', [0, 2])
->first();
}