Commit 0443e105 authored by sugar's avatar sugar

股权

parent 4247d38e
...@@ -272,7 +272,8 @@ class Users extends Backend ...@@ -272,7 +272,8 @@ class Users extends Backend
} }
$info = $this->model->where(['id' => $row['id']])->find(); $info = $this->model->where(['id' => $row['id']])->find();
if($info['equity'] && $equity>0){ if($info['equity'] && $equity>0){
$info['equity'] .= '+'.$params['equity_code']; $info['equity_code'] .= '+'.$params['equity_code'];
$this->model->where(['id' => $row['id']])->update(['equity_code' =>$info['equity_code']]);
} }
$this->model->where(['id' => $row['id']])->setInc('equity', $equity); $this->model->where(['id' => $row['id']])->setInc('equity', $equity);
$data = [ $data = [
......
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