Merge remote-tracking branch 'origin/develop' into feature/hant
This commit is contained in:
commit
3f26869c11
|
|
@ -92,7 +92,7 @@ class Orderplan extends Backend
|
||||||
'sum(total) total',
|
'sum(total) total',
|
||||||
'count(id) count',
|
'count(id) count',
|
||||||
'sum(performance) performance'
|
'sum(performance) performance'
|
||||||
])->limit(1);
|
])->where('status',\app\admin\model\Order::STATUS_FINISHED)->limit(1);
|
||||||
|
|
||||||
$res = $this->buildDate($build)->select();
|
$res = $this->buildDate($build)->select();
|
||||||
|
|
||||||
|
|
@ -137,7 +137,9 @@ class Orderplan extends Backend
|
||||||
'sum(total) total',
|
'sum(total) total',
|
||||||
'count(id) count',
|
'count(id) count',
|
||||||
'sum(performance) performance'
|
'sum(performance) performance'
|
||||||
])->group(' DATE(create_time)');
|
])
|
||||||
|
->where('status',\app\admin\model\Order::STATUS_FINISHED)
|
||||||
|
->group(' DATE(create_time)');
|
||||||
|
|
||||||
$res = $this->buildDate($build)->select();
|
$res = $this->buildDate($build)->select();
|
||||||
$data = [];
|
$data = [];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user