Commit e859bd6a authored by hujun's avatar hujun

//

parent 01112a21
...@@ -3500,11 +3500,11 @@ class Finance extends Basic ...@@ -3500,11 +3500,11 @@ class Finance extends Basic
$save_data['pay_type'] = $this->params['pay_type']; $save_data['pay_type'] = $this->params['pay_type'];
} }
$m_pay_log = new OPayLogAdjustment(); // $m_pay_log = new OPayLogAdjustment();
$id = $m_pay_log->getFieldValue('id', ['paylog_id'=>$this->params['pay_id']]); // $id = $m_pay_log->getFieldValue('id', ['paylog_id'=>$this->params['pay_id']]);
if ($id) { // if ($id) {
return $this->response(101, '收款存在调整不能修改'); // return $this->response(101, '收款存在调整不能修改');
} // }
if (($id[0]['type'] == 10 && $this->params['type'] == 30) || ($id[0]['type'] == 30 && $this->params['type'] == 10)) { if (($id[0]['type'] == 10 && $this->params['type'] == 30) || ($id[0]['type'] == 30 && $this->params['type'] == 10)) {
$save_data['type'] = $this->params['type']; $save_data['type'] = $this->params['type'];
......
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