From 0080dc75d760b61ad1ca52c7eef6f2eab8455357 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Mon, 25 Jan 2021 11:10:57 +0800 Subject: [PATCH] =?UTF-8?q?1.28=E5=8A=9F=E8=83=BD=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyStatementPoolController.class.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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;