|
...
|
...
|
@@ -57,6 +57,7 @@ class ProcessRecordsLogic extends BaseLogic |
|
|
|
public function recordSave(){
|
|
|
|
$info = $this->model->read(['project_id'=>$this->param['project_id']]);
|
|
|
|
$this->param['operator_id'] = $this->manager['id'];
|
|
|
|
$this->param['record'] = json_encode($this->param['record']);
|
|
|
|
if($info === false){
|
|
|
|
$res = $this->model->add($this->param);
|
|
|
|
}else{
|
...
|
...
|
|