diff --git a/Application/Admin/Controller/CompanyStatementPoolController.class.php b/Application/Admin/Controller/CompanyStatementPoolController.class.php index bb5f5f1a4..dad27bfed 100644 --- a/Application/Admin/Controller/CompanyStatementPoolController.class.php +++ b/Application/Admin/Controller/CompanyStatementPoolController.class.php @@ -2816,7 +2816,16 @@ class CompanyStatementPoolController extends ThinkController $save['statement_end_time'] = $info['statement_end_time']; $save['statement_num'] = "JS_" . date("YmdHis", time()) . $info['company_id'] . sp_random_string(5); $save['withdraw_type'] = $info['withdraw_type']; - $save['verify_status'] = $info['verify_status']; + $save['verify_status'] = $info['verify_status']?$info['verify_status']:0; + + if($st!=1) { + if($info['is_payment'] == 1){ + $save['verify_status'] = 0; + }else{ + $save['verify_status'] = 2; + } + } + $save['statement_money'] = $settlementAmount; $save['pay_amount'] = $settlementAmount;