|
@@ -107,7 +107,7 @@ class Title extends BaseController
|
|
|
$where[]=['a.addtime',"<",date('Y-m-d H:i:s',strtotime($end)+24*3600)];
|
|
|
}
|
|
|
$count = Db::name('customer_title')->alias("a")
|
|
|
- ->join("business b","b.companyNo=a.companyNo","left")->where($where)->count();
|
|
|
+ ->join("customer_info b","b.companyNo=a.companyNo","left")->where($where)->count();
|
|
|
$total = ceil($count / $size);
|
|
|
$page = $page >= $total ? $total : $page;
|
|
|
$list = Db::name('customer_title')->alias("a")
|