优化搜索2

master
chenzhi 5 years ago
parent 587d7913ca
commit 35380ae9b0

@ -178,8 +178,8 @@ 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;
$params['p'] = $page;
$params['row'] = $row;
$page = set_pagination($count['count'], $row, $params);
if ($page) {
$this->assign('_page', $page);

Loading…
Cancel
Save