优化打款

master
chenzhi 5 years ago
parent 9ff3153f57
commit 9cbcbc7013

@ -124,10 +124,7 @@ class PaymentController extends BaseController
$count = M("company_statement_info","tab_")->alias('i')->field("count(id) count")->where($map)->find(); $count = M("company_statement_info","tab_")->alias('i')->field("count(id) count")->where($map)->find();
// dd($count); $page = set_pagination($count['count'], $row);
$parameter['p'] = $page;
$parameter['row'] = $row;
$page = set_pagination($count['count'], $row, $parameter);
if ($page) { if ($page) {
$this->assign('_page', $page); $this->assign('_page', $page);
} }

Loading…
Cancel
Save