diff --git a/Application/Admin/Controller/CompanyStatementPoolController.class.php b/Application/Admin/Controller/CompanyStatementPoolController.class.php index 3ab8f3d1b..eb563d1ec 100644 --- a/Application/Admin/Controller/CompanyStatementPoolController.class.php +++ b/Application/Admin/Controller/CompanyStatementPoolController.class.php @@ -777,12 +777,12 @@ class CompanyStatementPoolController extends ThinkController $this->ajaxReturn(array('status' => 0,"info"=>"重算失败")); } } + M()->commit(); + //重新计算 $stime = $info['statement_end_time']-0+1; $type = $info['withdraw_type']; A("CompanyStatementSet")->promoteUserPool($type,$stime,true,$info['is_payment']); - - M()->commit(); $this->ajaxReturn(array( 'status' => 1, 'info' => "重算成功"