Commit 05a976f9 authored by hujun's avatar hujun

order_id

parent 783086d7
...@@ -2386,10 +2386,9 @@ class Finance extends Basic ...@@ -2386,10 +2386,9 @@ class Finance extends Basic
} }
if (!empty($this->params['bargain_id'])) { if (!empty($this->params['bargain_id'])) {
$order_id = $this->m_bargain->getFieldValue('order_id', ['id'=>$this->params['bargain_id']]); $order_id = $this->m_bargain->getFieldValue('order_id', ['id'=>$this->params['bargain_id'],'father_id'=>0]);
if (!empty($order_id)) { if (!empty($order_id)) {
$where[] = ['EXP', 'a.id='.$order_id]; $where[] = ['EXP', 'a.order_id='.$order_id];
} }
} }
......
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