Commit 55efd415 authored by hujun's avatar hujun

财务统计去除驳回退款

parent 0a52c521
...@@ -4297,9 +4297,11 @@ class Finance extends Basic ...@@ -4297,9 +4297,11 @@ class Finance extends Basic
$where['c.status'] = ['in', '10,11,13']; $where['c.status'] = ['in', '10,11,13'];
$where['c.father_id'] = $where['a.is_del'] = 0; $where['c.father_id'] = $where['a.is_del'] = 0;
$where['b.income_time'] = ['between', [$income_start, $income_end]]; $where['b.income_time'] = ['between', [$income_start, $income_end]];
$where['a.status'] = ['<>', 4];
$price = $m_pay->sumBargainPrice('a.refund_money', $where); //未开业中介费 $price = $m_pay->sumBargainPrice('a.refund_money', $where); //未开业中介费
} else { } else {
$where['a.type'] = $type; $where['a.type'] = $type;
$where['a.status'] = ['<>', 4];
$where['b.income_time'] = ['between', [$income_start, $income_end]]; $where['b.income_time'] = ['between', [$income_start, $income_end]];
$price = $m_pay->getRefundSumV2('a.refund_money', $where); $price = $m_pay->getRefundSumV2('a.refund_money', $where);
} }
......
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