|
|
|
@ -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;
|
|
|
|
@ -134,6 +136,7 @@ class SubCompanyStatementPoolController extends ThinkController
|
|
|
|
|
$this->assign('_page', $page);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$this->assign("sum",$sum);
|
|
|
|
|
$this->assign('data',$data);
|
|
|
|
|
$this->assign('count',$count);
|
|
|
|
|
$this->display();
|
|
|
|
|