正在显示
1 个修改的文件
包含
7 行增加
和
7 行删除
| @@ -90,8 +90,8 @@ class ProjectLogic extends BaseLogic | @@ -90,8 +90,8 @@ class ProjectLogic extends BaseLogic | ||
| 90 | * @time :2023/8/30 11:57 | 90 | * @time :2023/8/30 11:57 |
| 91 | */ | 91 | */ |
| 92 | public function projectSave(){ | 92 | public function projectSave(){ |
| 93 | - DB::beginTransaction(); | ||
| 94 | - try { | 93 | +// DB::beginTransaction(); |
| 94 | +// try { | ||
| 95 | if($this->param['type'] == Project::TYPE_SEVEN){ | 95 | if($this->param['type'] == Project::TYPE_SEVEN){ |
| 96 | //错误单直接返回,单独处理 | 96 | //错误单直接返回,单独处理 |
| 97 | $this->setTypeSevenEdit($this->param); | 97 | $this->setTypeSevenEdit($this->param); |
| @@ -109,11 +109,11 @@ class ProjectLogic extends BaseLogic | @@ -109,11 +109,11 @@ class ProjectLogic extends BaseLogic | ||
| 109 | //保存售后信息 | 109 | //保存售后信息 |
| 110 | $this->saveProjectAfter($this->param['project_after']); | 110 | $this->saveProjectAfter($this->param['project_after']); |
| 111 | } | 111 | } |
| 112 | - DB::commit(); | ||
| 113 | - }catch (\Exception $e){ | ||
| 114 | - DB::rollBack(); | ||
| 115 | - $this->fail('error'); | ||
| 116 | - } | 112 | +// DB::commit(); |
| 113 | +// }catch (\Exception $e){ | ||
| 114 | +// DB::rollBack(); | ||
| 115 | +// $this->fail('error'); | ||
| 116 | +// } | ||
| 117 | return $this->success(); | 117 | return $this->success(); |
| 118 | } | 118 | } |
| 119 | 119 |
-
请 注册 或 登录 后发表评论