fix: stat

This commit is contained in:
tokumeikoi
2021-03-12 01:24:50 +09:00
parent 58a63ae819
commit a03125ee6a
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', [3, 4])
->whereIn('status', '!=', [0, 2])
->first();
}