Commit 3224277c authored by hujun's avatar hujun

bargain_id

parent f93bf349
...@@ -2436,7 +2436,7 @@ class Finance extends Basic ...@@ -2436,7 +2436,7 @@ class Finance extends Basic
} }
if ($v['type'] != 10 && $v['type'] != 30) { if ($v['type'] != 10 && $v['type'] != 30) {
$bargain_id = $this->m_bargain->selectBargainByOrderNo('id', ['order_id', $v['order_id']]); $bargain_id = $this->m_bargain->selectBargainByOrderNo('id', ['order_id'=>$v['order_id']]);
$list[$k]['bargain_id'] = $bargain_id[0]['id']; $list[$k]['bargain_id'] = $bargain_id[0]['id'];
} else { } else {
$list[$k]['bargain_id'] = ''; $list[$k]['bargain_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