|
...
|
...
|
@@ -259,6 +259,9 @@ class ProjectLogic extends BaseLogic |
|
|
|
* @time :2023/9/12 11:20
|
|
|
|
*/
|
|
|
|
public function setTypeSevenEdit($param){
|
|
|
|
$info = $this->model->read(['id'=>$param['id']]);
|
|
|
|
|
|
|
|
if($info['delete_status'] == 0){
|
|
|
|
//删除原始项目
|
|
|
|
$this->edit(['delete_status' => 1], ['id' => $param['id']]);
|
|
|
|
|
|
...
|
...
|
@@ -281,6 +284,7 @@ class ProjectLogic extends BaseLogic |
|
|
|
];
|
|
|
|
$renewModel = new ProjectRenew();
|
|
|
|
$renewModel->add($data);
|
|
|
|
}
|
|
|
|
|
|
|
|
return $this->success();
|
|
|
|
}
|
...
|
...
|
|