Commit 4e086278 authored by hujun's avatar hujun

统计去除删除状态

parent 9f548938
...@@ -3633,8 +3633,7 @@ class Finance extends Basic ...@@ -3633,8 +3633,7 @@ class Finance extends Basic
$where['b.is_open'] = $is_open; $where['b.is_open'] = $is_open;
$where['a.type'] = $type; $where['a.type'] = $type;
$where['b.status'] = ['in', '10,11,13']; $where['b.status'] = ['in', '10,11,13'];
$where['b.father_id'] = 0; $where['b.father_id'] = $where['a.is_del'] = 0;
$where['a.is_del'] = 0;
$price = $m_pay->sumBargainPrice('a.real_money', $where); //未开业中介费 $price = $m_pay->sumBargainPrice('a.real_money', $where); //未开业中介费
return empty($price) ? '' : $price; return empty($price) ? '' : $price;
} }
...@@ -3654,7 +3653,7 @@ class Finance extends Basic ...@@ -3654,7 +3653,7 @@ class Finance extends Basic
$where['b.is_open'] = $is_open; $where['b.is_open'] = $is_open;
$where['a.type'] = $type; $where['a.type'] = $type;
$where['b.status'] = ['in', '10,11,13']; $where['b.status'] = ['in', '10,11,13'];
$where['b.father_id'] = 0; $where['b.father_id'] = $where['a.is_del'] = 0;
$price = $m_pay->sumBargainPrice('a.refund_money', $where); //未开业中介费 $price = $m_pay->sumBargainPrice('a.refund_money', $where); //未开业中介费
} else { } else {
$where['type'] = $type; $where['type'] = $type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment