Commit 4e9000a9 authored by hujun's avatar hujun

father_id

parent bf933d98
...@@ -2036,7 +2036,9 @@ class Finance extends Basic ...@@ -2036,7 +2036,9 @@ class Finance extends Basic
$comm->editData($partial_data, $this->params['bargain_id'], 'bargain_id'); $comm->editData($partial_data, $this->params['bargain_id'], 'bargain_id');
// $this->updatePerformance(0, $this->params['agent_id']); // $this->updatePerformance(0, $this->params['agent_id']);
// $this->updatePerformance(0, $data_arr['agent_id']); // $this->updatePerformance(0, $data_arr['agent_id']);
$this->updatePerformanceAll($data_arr['id'], 1);
$bargain_id = empty($data_arr['father_id']) ? $data_arr['id']:$data_arr['father_id'];
$this->updatePerformanceAll($bargain_id, 1);
/*记录日志 start*/ /*记录日志 start*/
$father_id = $this->params['bargain_id']; $father_id = $this->params['bargain_id'];
if ($data_arr['father_id'] == 0) { if ($data_arr['father_id'] == 0) {
......
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