Commit a39da3c6 authored by hujun's avatar hujun

20,21

parent cf7b058c
...@@ -4682,6 +4682,7 @@ class Finance extends Basic ...@@ -4682,6 +4682,7 @@ class Finance extends Basic
$data['status'] = 10; $data['status'] = 10;
$data['audit_level'] = 0; $data['audit_level'] = 0;
$where_2[] = ['EXP', 'id ='.$this->params['id'].' OR father_id='.$this->params['id']]; $where_2[] = ['EXP', 'id ='.$this->params['id'].' OR father_id='.$this->params['id']];
$where_2['status'] = ['in', '20,21'];
$is_ok = $this->m_bargain->updateBargainByWhere($data, $where_2); $is_ok = $this->m_bargain->updateBargainByWhere($data, $where_2);
if ($is_ok) { if ($is_ok) {
foreach ($agent_arr as $k=>$v) { foreach ($agent_arr as $k=>$v) {
......
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