修改群呼队列生成

This commit is contained in:
lilong@dgg.net 2021-04-14 10:14:13 +08:00
parent 94c2e230b8
commit 7b56d4ad1e
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class IndexController extends Controller
//总客户数 //总客户数
$customerCount = Customer::count(); $customerCount = Customer::count();
//我的客户数 //我的客户数
$myCustomerCount = Customer::where('owner_user_id','=',auth()->user()->id)->count(); $myCustomerCount = Customer::where('owner_user_id','=',auth()->user()->id)->where('status',3)->count();
return View::make("index.console",compact('departmentCount','userCount','customerCount','myCustomerCount')); return View::make("index.console",compact('departmentCount','userCount','customerCount','myCustomerCount'));
} }