|
|
|
@ -110,7 +110,8 @@ class AggregateFinanceStatementController extends ThinkController
|
|
|
|
|
|
|
|
|
|
$data[$key]['oplist'] = $this->OpAuth($value);
|
|
|
|
|
}
|
|
|
|
|
$count = M("aggregate_statement","tab_")->field("count(id) count,SUM(ratio_money) ratio_money,SUM(pay_money) pay_money")->where($map)->find();
|
|
|
|
|
$count = M("aggregate_statement","tab_")->field("count(id) count,SUM(ratio_money) ratio_money")->where($map)->find();
|
|
|
|
|
$pay_money_count = M("aggregate_statement","tab_")->field("SUM(pay_money) pay_money")->where($map)->where("withdraw_type <> 2")->find()['pay_money'];
|
|
|
|
|
|
|
|
|
|
//分页
|
|
|
|
|
$parameter['p'] = $page;
|
|
|
|
@ -123,7 +124,7 @@ class AggregateFinanceStatementController extends ThinkController
|
|
|
|
|
$this->assign('menubtn',$this->menuAuth());
|
|
|
|
|
$this->assign('data',$data);
|
|
|
|
|
$this->assign('total',$count['ratio_money']);
|
|
|
|
|
$this->assign('pay_money',$count['pay_money']);
|
|
|
|
|
$this->assign('pay_money',$pay_money_count);
|
|
|
|
|
$this->assign('channel',$this->getAggChannel());
|
|
|
|
|
$this->assign('verify_status',$this->verify_status);
|
|
|
|
|
$this->display();
|
|
|
|
|