diff --git a/Application/Admin/Controller/CompanyGameRatioController.class.php b/Application/Admin/Controller/CompanyGameRatioController.class.php index 096dc1c88..12b7dc362 100644 --- a/Application/Admin/Controller/CompanyGameRatioController.class.php +++ b/Application/Admin/Controller/CompanyGameRatioController.class.php @@ -143,7 +143,7 @@ class CompanyGameRatioController extends AdminController ->join("JOIN tab_promote_company p ON ( m.company_id = p.id".$pwhere.")") ->where($where)->find()['count']; $this->assign('data', $dbres); - $page = set_pagination($count, $row); + $page = set_pagination($count, $row,$params); if($page) { $this->assign('_page', $page); } @@ -317,7 +317,7 @@ class CompanyGameRatioController extends AdminController ->join("JOIN tab_promote_company p ON ( m.company_id = p.id".$pwhere.")") ->where($where)->find()['count']; $this->assign('data', $dbres); - $page = set_pagination($count, $row); + $page = set_pagination($count, $row,$params); if($page) { $this->assign('_page', $page); } diff --git a/Application/Admin/Controller/CompanyRelationController.class.php b/Application/Admin/Controller/CompanyRelationController.class.php index ea53aec9e..ae08d1d68 100644 --- a/Application/Admin/Controller/CompanyRelationController.class.php +++ b/Application/Admin/Controller/CompanyRelationController.class.php @@ -107,7 +107,7 @@ class CompanyRelationController extends AdminController $count = $this->DBModel->field("count(id) count")->where($where)->find()['count']; $this->assign('data', $dbres); - $page = set_pagination($count, $row); + $page = set_pagination($count, $row,$params); if($page) { $this->assign('_page', $page); } @@ -223,7 +223,7 @@ class CompanyRelationController extends AdminController $count = $this->DBlogModel->field("count(id) count")->where($where)->find()['count']; $this->assign('data', $dbres); - $page = set_pagination($count, $row); + $page = set_pagination($count, $row,$params); if($page) { $this->assign('_page', $page); } diff --git a/Application/Admin/Controller/CompanyStatementController.class.php b/Application/Admin/Controller/CompanyStatementController.class.php index d52539bf1..67e945a4d 100644 --- a/Application/Admin/Controller/CompanyStatementController.class.php +++ b/Application/Admin/Controller/CompanyStatementController.class.php @@ -178,9 +178,9 @@ class CompanyStatementController extends ThinkController } $count = M("company_statement","tab_")->field("count(id) count,IFNULL(SUM(CASE WHEN withdraw_type < 2 THEN platform_amount ELSE 0 END),0) as platform_amount,SUM(statement_money) as statement_money")->where($map)->find(); // dd($count); - $parameter['p'] = $page; - $parameter['row'] = $row; - $page = set_pagination($count['count'], $row, $parameter); + $params['p'] = $page; + $params['row'] = $row; + $page = set_pagination($count['count'], $row, $params); if ($page) { $this->assign('_page', $page); } diff --git a/Application/Admin/Controller/CompanyStatementLackController.class.php b/Application/Admin/Controller/CompanyStatementLackController.class.php index ecc86fd4b..6e5d63cc3 100644 --- a/Application/Admin/Controller/CompanyStatementLackController.class.php +++ b/Application/Admin/Controller/CompanyStatementLackController.class.php @@ -83,9 +83,9 @@ class CompanyStatementLackController extends ThinkController $count = $this->DBModel->field("count(id) count,sum(statement_money) statement_money")->where($map)->find(); // dd($count); - $parameter['p'] = $page; - $parameter['row'] = $row; - $page = set_pagination($count['count'], $row, $parameter); + $params['p'] = $page; + $params['row'] = $row; + $page = set_pagination($count['count'], $row, $params); if ($page) { $this->assign('_page', $page); } diff --git a/Application/Admin/Controller/CompanyStatementPoolController.class.php b/Application/Admin/Controller/CompanyStatementPoolController.class.php index 3444a8998..8882d4205 100644 --- a/Application/Admin/Controller/CompanyStatementPoolController.class.php +++ b/Application/Admin/Controller/CompanyStatementPoolController.class.php @@ -165,9 +165,9 @@ class CompanyStatementPoolController extends ThinkController } $count = $this->DBModel->field("count(id) count,SUM(statement_money) as statement_money")->where($map)->find(); // dd($count); - $parameter['p'] = $page; - $parameter['row'] = $row; - $page = set_pagination($count['count'], $row, $parameter); + $params['p'] = $page; + $params['row'] = $row; + $page = set_pagination($count['count'], $row, $params); if ($page) { $this->assign('_page', $page); } diff --git a/Application/Admin/Controller/GameRatioMouldController.class.php b/Application/Admin/Controller/GameRatioMouldController.class.php index d1d02b081..1183e0b55 100644 --- a/Application/Admin/Controller/GameRatioMouldController.class.php +++ b/Application/Admin/Controller/GameRatioMouldController.class.php @@ -81,7 +81,7 @@ class GameRatioMouldController extends AdminController $count = $this->DBModel->alias('m')->field("count(id) count")->join("INNER JOIN ({$gameres}) g ON m.relation_game_id = g.relation_game_id")->where($where)->find()['count']; $this->assign('data', $dbres); - $page = set_pagination($count, $row); + $page = set_pagination($count, $row,$params); if($page) { $this->assign('_page', $page); } diff --git a/Application/Admin/View/CompanyStatement/lists.html b/Application/Admin/View/CompanyStatement/lists.html index 8ac880843..1aaafbdae 100644 --- a/Application/Admin/View/CompanyStatement/lists.html +++ b/Application/Admin/View/CompanyStatement/lists.html @@ -252,9 +252,6 @@