mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
fix: statsistics
This commit is contained in:
parent
70b47ec4b0
commit
dfeec044ea
@ -55,8 +55,7 @@ class V2boardStatistics extends Command
|
|||||||
->whereNotIn('status', [0, 2]);
|
->whereNotIn('status', [0, 2]);
|
||||||
$orderCount = $builder->count();
|
$orderCount = $builder->count();
|
||||||
$orderAmount = $builder->sum('total_amount');
|
$orderAmount = $builder->sum('total_amount');
|
||||||
$builder = $builder->where('commission_balance', '!=', 0)
|
$builder = $builder->where('commission_balance', '!=', 0);
|
||||||
->where('commission_status', 0);
|
|
||||||
$commissionCount = $builder->count();
|
$commissionCount = $builder->count();
|
||||||
$commissionAmount = $builder->sum('commission_balance');
|
$commissionAmount = $builder->sum('commission_balance');
|
||||||
$data = [
|
$data = [
|
||||||
|
Loading…
Reference in New Issue
Block a user