Commit 8bd6991b authored by hujun's avatar hujun

成交报告同步修改分佣方数据

parent e87aec0d
......@@ -1481,6 +1481,10 @@ class Finance extends Basic
$data = $m_bargain->updateBargainById($this->params['bargain_id'], $update); //更改分佣方
$comm = new OPartialCommission();
$partial_data['scale'] = $this->params['scale'];
$partial_data['should_commission'] = $this->params['scale_fee'];
$comm->editData($partial_data, $this->params['bargain_id'], 'bargain_id');
$this->updatePerformance(0, $this->params['agent_id']);
$this->updatePerformance(0, $data_arr['agent_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