diff --git a/Application/Admin/Controller/CompanyStatementController.class.php b/Application/Admin/Controller/CompanyStatementController.class.php index 5f6b39ac7..ff37b4886 100644 --- a/Application/Admin/Controller/CompanyStatementController.class.php +++ b/Application/Admin/Controller/CompanyStatementController.class.php @@ -2024,6 +2024,13 @@ class CompanyStatementController extends ThinkController $num = 0; $handleData = []; + $handleData[$_REQUEST['company_id']]['ali_user'] = $companyData['ali_user']; + $handleData[$_REQUEST['company_id']]['ali_account'] = $companyData['ali_account']; + $handleData[$_REQUEST['company_id']]['payee_name'] = $companyData['bank_address']; + $handleData[$_REQUEST['company_id']]['bank_account'] = $companyData['bank_card']; + $handleData[$_REQUEST['company_id']]['opening_bank'] = $companyData['bank_name']; + $handleData[$_REQUEST['company_id']]['company_name'] = $companyData['company_name']; + foreach ($relation_game_data as $rkey => $rvalue) { if (!$handleRadioData[$rvalue]) { @@ -2036,13 +2043,6 @@ class CompanyStatementController extends ThinkController $handleData[$_REQUEST['company_id']]['is_payment'] = $relation['is_payment']; - $handleData[$_REQUEST['company_id']]['ali_user'] = $companyData['ali_user']; - $handleData[$_REQUEST['company_id']]['ali_account'] = $companyData['ali_account']; - $handleData[$_REQUEST['company_id']]['payee_name'] = $companyData['bank_address']; - $handleData[$_REQUEST['company_id']]['bank_account'] = $companyData['bank_card']; - $handleData[$_REQUEST['company_id']]['opening_bank'] = $companyData['bank_name']; - - $handleData[$_REQUEST['company_id']]['company_name'] = $companyData['company_name']; $handleData[$_REQUEST['company_id']]['begin_time'][] = strtotime(I('time_start')); $handleData[$_REQUEST['company_id']]['end_time'][] = strtotime(I('time_end')) + 86399; $handleData[$_REQUEST['company_id']]['relation_game_id'][] = $rvalue;