sth
This commit is contained in:
parent
16b65a1fcd
commit
9de0179d66
|
|
@ -92,7 +92,7 @@ class Orderplan extends Backend
|
|||
'sum(total) total',
|
||||
'count(id) count',
|
||||
'sum(performance) performance'
|
||||
])->limit(1);
|
||||
])->where('status',\app\admin\model\Order::STATUS_FINISHED)->limit(1);
|
||||
|
||||
$res = $this->buildDate($build)->select();
|
||||
|
||||
|
|
@ -137,7 +137,9 @@ class Orderplan extends Backend
|
|||
'sum(total) total',
|
||||
'count(id) count',
|
||||
'sum(performance) performance'
|
||||
])->group(' DATE(create_time)');
|
||||
])
|
||||
->where('status',\app\admin\model\Order::STATUS_FINISHED)
|
||||
->group(' DATE(create_time)');
|
||||
|
||||
$res = $this->buildDate($build)->select();
|
||||
$data = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user