|
@@ -23,10 +23,10 @@ class Dashboard extends Backend
|
|
|
$user_count = Db::name('user')->count();
|
|
|
|
|
|
//师傅数
|
|
|
- $worker_count = Db::name('worker')->count();
|
|
|
+ $worker_count = Db::name('worker')->where('deletetime',NULL)->count();
|
|
|
|
|
|
//公司数
|
|
|
- $company_count = Db::name('company')->count();
|
|
|
+ $company_count = Db::name('company')->where('deletetime',NULL)->count();
|
|
|
|
|
|
//维保订单数
|
|
|
$maintain_count = Db::name('maintain')->count();
|