wugg 5 ماه پیش
والد
کامیت
5a47a6b70c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/cxinv/controller/Stage.php

+ 1 - 1
app/cxinv/controller/Stage.php

@@ -164,7 +164,7 @@ class Stage extends Base{
 
 
             $stageSte=$stage->save();
             $stageSte=$stage->save();
             if(!$stageSte) throw new \Exception("更新付款申请状态失败");
             if(!$stageSte) throw new \Exception("更新付款申请状态失败");
-            $this->model->rollback();
+            $this->model->commit();
         }catch (\Exception $e){
         }catch (\Exception $e){
             $this->model->rollback();
             $this->model->rollback();
             return error($e->getMessage());
             return error($e->getMessage());