正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -65,6 +65,7 @@ class ProcessRecordsLogic extends BaseLogic | @@ -65,6 +65,7 @@ class ProcessRecordsLogic extends BaseLogic | ||
| 65 | public function recordSave(){ | 65 | public function recordSave(){ |
| 66 | $info = $this->model->read(['project_id'=>$this->param['project_id']]); | 66 | $info = $this->model->read(['project_id'=>$this->param['project_id']]); |
| 67 | $this->param['operator_id'] = $this->manager['id']; | 67 | $this->param['operator_id'] = $this->manager['id']; |
| 68 | + $this->param['date'] = $this->param['record'][0]['date'] ?? null; | ||
| 68 | $this->param['record'] = json_encode($this->param['record']); | 69 | $this->param['record'] = json_encode($this->param['record']); |
| 69 | if($info === false){ | 70 | if($info === false){ |
| 70 | $res = $this->model->add($this->param); | 71 | $res = $this->model->add($this->param); |
-
请 注册 或 登录 后发表评论