|
|
|
@ -111,8 +111,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")->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'];
|
|
|
|
|
|
|
|
|
|
$map['withdraw_type'] = ["NEQ",2];
|
|
|
|
|
$pay_money_count = M("aggregate_statement","tab_")->field("SUM(pay_money) pay_money")->where($map)->find()['pay_money'];
|
|
|
|
|
//分页
|
|
|
|
|
$parameter['p'] = $page;
|
|
|
|
|
$parameter['row'] = $row;
|
|
|
|
|