panlumeng 3 years ago
parent
commit
c46f244bd4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Title.php

+ 1 - 1
app/admin/controller/Title.php

@@ -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")