Commit dff68575 authored by hujun's avatar hujun

money

parent 5614b99b
...@@ -4274,7 +4274,7 @@ class Finance extends Basic ...@@ -4274,7 +4274,7 @@ class Finance extends Basic
$where['b.status'] = ['in', '10,11,13']; $where['b.status'] = ['in', '10,11,13'];
$where['b.father_id'] = $where['a.is_del'] = 0; $where['b.father_id'] = $where['a.is_del'] = 0;
$where['a.income_time'] = ['between', [$income_time_start, $income_time_end]]; $where['a.income_time'] = ['between', [$income_time_start, $income_time_end]];
$price = $m_pay->sumBargainPrice('a.real_money', $where); //未开业中介费 $price = $m_pay->sumBargainPrice('a.money', $where); //未开业中介费
return empty($price) ? '' : $price; return empty($price) ? '' : $price;
} }
...@@ -4328,7 +4328,7 @@ class Finance extends Basic ...@@ -4328,7 +4328,7 @@ class Finance extends Basic
$where['type'] = $type; $where['type'] = $type;
$where['is_del'] = 0; $where['is_del'] = 0;
$where['income_time'] = ['between', [$income_start, $income_end]]; $where['income_time'] = ['between', [$income_start, $income_end]];
$price = $m_pay->sumPayLog('real_money', $where); $price = $m_pay->sumPayLog('money', $where);
} }
return $price; return $price;
} }
......
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