Commit af577ca7 authored by hujun's avatar hujun

bargain_id

parent 54db65fc
......@@ -3025,10 +3025,11 @@ class Finance extends Basic
}
if (!empty($this->params['bargain_id'])) {
$order_id = $this->m_bargain->getFieldValue('order_id', ['id'=>$this->params['bargain_id'],'father_id'=>0]);
if (!empty($order_id)) {
$where[] = ['EXP', 'a.order_id='.$order_id];
}
// $order_id = $this->m_bargain->getFieldValue('order_id', ['id'=>$this->params['bargain_id'],'father_id'=>0]);
// if (!empty($order_id)) {
// $where[] = ['EXP', 'a.order_id='.$order_id];
// }
$where['a.bargain_id'] = $this->params['bargain_id'];
$is_show = 1;
}
......
......@@ -157,10 +157,11 @@ class OfficePayLog extends Basic
}
if (!empty($this->params['bargain_id'])) {
$order_id = $this->m_bargain->getFieldValue('order_id', ['id'=>$this->params['bargain_id'],'father_id'=>0]);
if (!empty($order_id)) {
$where[] = ['EXP', 'a.order_id='.$order_id];
}
// $order_id = $this->m_bargain->getFieldValue('order_id', ['id'=>$this->params['bargain_id'],'father_id'=>0]);
// if (!empty($order_id)) {
// $where[] = ['EXP', 'a.order_id='.$order_id];
// }
$where['a.bargain_id'] = $this->params['bargain_id'];
$is_show = 1;
}
......
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