master
wangxinglong 2022-05-27 17:53:06 +08:00
parent e7126a9991
commit 3807c03ef3
1 changed files with 1 additions and 1 deletions

View File

@ -1092,7 +1092,7 @@ class OrderRepository extends Repository
*/
public function orderCount(int $accountId): array
{
$statusList = ['waiting', 'paid', 'shipped', 'completed'];
$statusList = ['order_placed', 'makeing', 'shipped'];
$data = Order::where('account_id', $accountId)
->whereIn('status', $statusList)
->group('status')