|
|
|
@ -125,6 +125,8 @@ class SubCompanyStatementPoolController extends ThinkController
|
|
|
|
|
$v['oplist'] = $this->OpWmAuth($v);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$sum = $this->DBModel->field("sum(sum_money) sum_money")->where($map)->find();
|
|
|
|
|
|
|
|
|
|
$count = $this->DBModel->field("count(id) count")->where($map)->find();
|
|
|
|
|
// dd($count);
|
|
|
|
|
$params['p'] = $page;
|
|
|
|
@ -133,7 +135,8 @@ class SubCompanyStatementPoolController extends ThinkController
|
|
|
|
|
if ($page) {
|
|
|
|
|
$this->assign('_page', $page);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->assign("sum",$sum);
|
|
|
|
|
$this->assign('data',$data);
|
|
|
|
|
$this->assign('count',$count);
|
|
|
|
|
$this->display();
|
|
|
|
|